connectNameLost

fun connectNameLost(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Boolean): <Error class: unknown class>

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 g_application_quit().

Since

2.60

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Returns true if the signal has been handled