Signals.connectClosure

Connects a closure to a signal for a particular object.

struct Signals
static
connectClosure

Parameters

instanc ObjectG

the instance to connect to.

detailedSignal string

a string of the form "signal-name::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: the handler id (always greater than 0 for successful connections)

Meta