Sets the focus widget for the window to focus. If focus is null, the focus widget for the window will be unset.
The focus widget is the widget that will be given keyboard focus when the window receives keyboard focus.
See also: activate_focus() , get_focus() , grab_focus()