Method GTK2.Window()->get_focus()


Method get_focus

GTK2.Widget get_focus()

Description

Retrieves the current focused widget within the window. Note that this is the widget that would have the focus if the toplevel window focused; if the toplevel window is not focused then has_focus() will not be true for the widget.