Signal

GtkWidget::grab-notify

Declaration

void
grab_notify (
  GtkWidget* self,
  gboolean was_grabbed,
  gpointer user_data
)

Description [src]

The ::grab-notify signal is emitted when a widget becomes shadowed by a GTK+ grab (not a pointer or keyboard grab) on another widget, or when it becomes unshadowed due to a grab being removed.

A widget is shadowed by a gtk_grab_add() when the topmost grab widget in the grab stack of its window group is not its ancestor.

Default handler:

The default handler is called before the handlers added via g_signal_connect().

Parameters

was_grabbed

Type: gboolean

FALSE if the widget becomes shadowed, TRUE if it becomes unshadowed.