SignalGroup.connectObject

Connects @callback to the signal @detailed_signal on the target object of @self.

Ensures that the @object stays alive during the call to @callback by temporarily adding a reference count. When the @object is destroyed the signal handler will automatically be removed.

See: g_signal_connect_object().

class SignalGroup
void
connectObject
(
,
GCallback cHandler
,
void* object
,
GConnectFlags flags
)

Parameters

detailedSignal
Type: string

a string of the form "signal-name::detail"

cHandler
Type: GCallback

the #GCallback to connect

object
Type: void*

the #GObject to pass as data to @callback calls

Meta