Window.hasToplevelFocus
bool 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.
Returns
true if the input focus is within this GtkWindow