Window.hasToplevelFocus

Returns whether the input focus is within this GtkWindow. For real toplevel windows, this is identical to Window.isActive, but for embedded windows, like gtk.Plug, the results will differ.

class Window
bool
hasToplevelFocus
()

Return Value

Type: bool

TRUE if the input focus is within this GtkWindow

Meta