signalOverrideClassClosure

fun signalOverrideClassClosure(signalId: <Error class: unknown class>, instanceType: <Error class: unknown class>, classClosure: Closure)

Overrides the class closure (i.e. the default handler) for the given signal for emissions on instances of @instance_type. @instance_type must be derived from the type to which the signal belongs.

See g_signal_chain_from_overridden() and g_signal_chain_from_overridden_handler() for how to chain up to the parent class closure from inside the overridden one.

Parameters

signalId

the signal id

instanceType

the instance type on which to override the class closure for the signal.

classClosure

the closure.