Re: Blocking a signal with unknown handler id?



Daniel Pekelharing wrote:
Hi all,

Anyone know how one would go about blocking a signal on a widget where
you don't know the signal handler id?

I have some check menu items which I set depending on various program
modes... I need to block the "activate" signal before I set it and
unblock it afterwords, but I don't know the id...

Is there perhaps someway to block all user defined callbacks on a
widget?

Thanks!

You may want to try g_signal_lookup and g_signal_handlers_block_matched where only G_SIGNAL_MATCH_ID is passed.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]