Method

GtkWindowhas_toplevel_focus

since: 2.4

Declaration [src]

gboolean
gtk_window_has_toplevel_focus (
  GtkWindow* window
)

Description [src]

Returns whether the input focus is within this GtkWindow. For real toplevel windows, this is identical to gtk_window_is_active(), but for embedded windows, like GtkPlug, the results will differ.

Available since: 2.4

Return value

Type: gboolean

TRUE if the input focus is within this GtkWindow.