Signal

GtkWidget::grab-broken-event

since: 2.8

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

Type: GdkEventGrabBroken

The GdkEventGrabBroken event.

Return value

Type: gboolean

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