Application.addOnNameLost

The ::name-lost signal is emitted only on the registered primary instance when a new instance has taken over. This can only happen if the application is using the G_APPLICATION_ALLOW_REPLACEMENT flag.

The default handler for this signal calls Application.quit.

class Application
gulong
addOnNameLost
(
bool delegate dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)

Return Value

Type: gulong

TRUE if the signal has been handled

Meta

Since

2.60