delete_event


Description:

public virtual signal bool delete_event (EventAny event)

The delete_event signal is emitted if a user requests that a toplevel window is closed.

The default handler for this signal destroys the window. Connecting hide_on_delete to this signal will cause the window to be hidden instead, so that it can later be shown again without reconstructing it.

Parameters:

event

the event which triggered this signal

Returns:

true to stop other handlers from being invoked for the event. false to propagate the event further.




2022 vala-language.org