doc: corrected inaccuracies in uix/widget.py