Signal

GtkWidget::destroy-event

Declaration

gboolean
destroy_event (
  GtkWidget* self,
  GdkEvent* event,
  gpointer user_data
)

Description [src]

The ::destroy-event signal is emitted when a GdkWindow is destroyed. You rarely get this signal, because most widgets disconnect themselves from their window before they destroy it, so no widget owns the window at destroy time.

To receive this signal, the GdkWindow associated to the widget needs to enable the #GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.

Default handler:

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

Parameters

event

Type: GdkEvent

The event which triggered this signal.

The data is owned by the caller of the function.

Return value

Type: gboolean

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