Widget.hasFocus

Determines if the widget has the global input focus. See gtk_widget_is_focus() for the difference between having the global input focus, and only having the focus within a toplevel.

Return: %TRUE if the widget has the global input focus.

class Widget
bool
hasFocus
()

Meta

Since

2.18