connectGSignal

fun connectGSignal(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (senderName: String, signalName: String, <Error class: unknown class>) -> Unit): <Error class: unknown class>

Emitted when a signal from the remote object and interface that @proxy is for, has been received.

Since 2.72 this signal supports detailed connections. You can connect to the detailed signal g-signal::x in order to receive callbacks only when signal x is received from the remote object.

Since

2.26

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: senderName The sender of the signal or null if the connection is not a bus connection.; signalName The name of the signal.; parameters A #GVariant tuple with parameters for the signal.