Window.hasToplevelFocus

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

class Window
bool
hasToplevelFocus
()

Return Value

Type: bool

true if the input focus is within this GtkWindow