- public void block (void* instance, ulong handler_id)
Blocks a handler of an instance so it will not be called during any signal
emissions unless it is unblocked again.
- public uint block_by_func (void* instance, void* func, void* data)
- public uint block_matched (void* instance, SignalMatchType mask, uint signal_id, Quark detail, Closure? closure, void* func, void* data)
Blocks all handlers on an instance that match a certain selection criteria.
- public void disconnect (void* instance, ulong handler_id)
Disconnects a handler from an instance so it will not be called during any
future or currently ongoing emissions of the signal it has been connected to.
- public uint disconnect_by_data (void* instance, void* data)
- public uint disconnect_by_func (void* instance, void* func, void* data)
- public uint disconnect_matched (void* instance, SignalMatchType mask, uint signal_id, Quark detail, Closure? closure, void* func, void* data)
Disconnects all handlers on an instance that match a certain selection
criteria.
- public ulong find (void* instance, SignalMatchType mask, uint signal_id, Quark detail, Closure? closure, void* func, void* data)
Finds the first signal handler that matches certain selection criteria.
- public bool is_connected (void* instance, ulong handler_id)
Returns whether handler_id
is the ID of a handler connected to
instance
.
- public void unblock (void* instance, ulong handler_id)
Undoes the effect of a previous
block call.
- public uint unblock_by_func (void* instance, void* func, void* data)
- public uint unblock_matched (void* instance, SignalMatchType mask, uint signal_id, Quark detail, Closure? closure, void* func, void* data)
Unblocks all handlers on an instance that match a certain selection
criteria.