Signal

GtkWidget::grab-broken-event

Declaration

gboolean
grab_broken_event (
  GtkWidget* self,
  GdkEventGrabBroken event,
  gpointer user_data
)

Description [src]

Emitted when a pointer or keyboard grab on a window belonging to widget gets broken.

On X11, this happens when the grab window becomes unviewable (i.e. it or one of its ancestors is unmapped), or if the same application grabs the pointer or keyboard again.

Default handler:

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

Available since:2.8

Parameters

event GdkEventGrabBroken
 

The GdkEventGrabBroken event.

Return value

Returns: gboolean
 

TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.