The ::destroy-event signal is emitted when ais 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 associated to the widget needs to enable the mask. GDK will enable this mask automatically for all new windows. %FALSE to propagate the event further.