onGSignal
fun onGSignal(connectFlags: <Error class: unknown class> = ConnectFlags(0u), detail: String? = null, handler: (senderName: String?, signalName: String, <Error class: unknown class>) -> Unit): <Error class: unknown class>(source)
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
detail
the signal detail
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.