Stopping a signal from being called

Sadrul Habib Chowdhury imadil at gmail.com
Sat Aug 11 04:16:04 EDT 2007


* Prekshu Ajmera had this to say on [11 Aug 2007, 12:47:22 +0530]:
> Hello,
> 
> Is it possible to stop a signal from being called ?
> For eg. I don't want 'switch-page' signal being called when I call the
> function gtk_notebook_remove_page ()

You can try looking at g_signal_handlers_block_matched and/or
g_signal_stop_emission family of function/macros.

What is it that you are trying to do? Perhaps you don't really want to
stop the signal from being emitted?

Sadrul




More information about the Devel mailing list