Re: Blocking a signal with unknown handler id?
- From: Christian Neumair <chris gnome-de org>
- To: Daniel Pekelharing <legendstar gmail com>
- Cc: Gtk-App-Devel-List <gtk-app-devel-list gnome org>
- Subject: Re: Blocking a signal with unknown handler id?
- Date: Thu, 19 Jan 2006 08:39:49 +0100
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]