is_focus
Description:
Determines if the widget is the focus widget within its toplevel.
(This does not mean that the has_focus property is necessarily set; has_focus will only be set if the toplevel widget additionally has the global input focus.)
Parameters:
this |
a Widget |
Returns:
true if the widget is the focus widget. |