setTarget

open fun setTarget(target: Object? = null)

Sets the target instance used when connecting signals. Any signal that has been registered with g_signal_group_connect_object() or similar functions will be connected to this object.

If the target instance was previously set, signals will be disconnected from that object prior to connecting to @target.

Since

2.72

Parameters

target

The target instance used when connecting signals.