Widget.isFocus

Determines if the widget is the focus widget within its toplevel. (This does not mean that the #GtkWidget:has-focus property is necessarily set; #GtkWidget:has-focus will only be set if the toplevel widget additionally has the global input focus.)

Return: %TRUE if the widget is the focus widget.

class Widget
bool
isFocus
()

Meta