Package: gobject

Function g-signal-handler-block

Lambda List

g-signal-handler-block (instance handler-id)

Arguments

instance -- a g-object instance to block the signal handler of
handler-id -- an unsigned integer handler ID of the handler to be blocked

Details

Blocks a handler of an instance so it will not be called during any signal emissions unless it is unblocked again. Thus "blocking" a signal handler means to temporarily deactive it. A signal handler has to be unblocked exactly the same amount of times it has been blocked before to become active again.

The handler-id has to be a valid signal handler ID, connected to a signal of instance.
 

See also

2021-12-14