Method

GtkWidgethas_grab

Declaration [src]

gboolean
gtk_widget_has_grab (
  GtkWidget* widget
)

Description [src]

Determines whether the widget is currently grabbing events, so it is the only widget receiving input events (keyboard and mouse).

See also gtk_grab_add().

Available since:2.18

Return value

Returns: gboolean
 

TRUE if the widget is in the grab_widgets stack.