GObject::block

void block(int handler_id);

Blocks the given signal handler from being called when a signal is emitted. Use unblock() to continue receiving method calls.

When calling the method multiple times for the same handler, you need to call the unblock the same amount of times to get it working again.

The handler_id is the return value of the connect_* methods.

See also: connect() , disconnect() , is_connected() , unblock()