Add docstring documentation for widget_float

Unfinished work, any comments are welcome.