Signals.connectClosureById

Connects a closure to a signal for a particular object.

struct Signals
static
gulong
connectClosureById

Parameters

instanc ObjectG

the instance to connect to.

signalId uint

the id of the signal.

detail GQuark

the detail.

closure Closure

the closure to connect.

after bool

whether the handler should be called before or after the default handler of the signal.

Return Value

Type: gulong

the handler ID (always greater than 0 for successful connections)

Meta