Add docstring documentation for widget_float

Unfinished work, any comments are welcome. 

no need for this empty line