Re: disconnecting callbacks
- From: John K Luebs <jkluebs luebsphoto com>
- To: who_ami siedziba pl
- Cc: gtk-app-devel-list gnome org
- Subject: Re: disconnecting callbacks
- Date: Sat, 22 Feb 2003 21:27:26 -0500
On Sun, Feb 23, 2003 at 02:46:33AM +0100, who_ami siedziba pl wrote:
hi!
how to disconnect all connected callbacks for a button for "clicked"
signal ?
g_signal_handlers_disconnect_matched() with G_SIGNAL_MATCH_ID as the
match should do the trick.
Use g_signal_lookup("clicked", GTK_TYPE_BUTTON) for the signal id.
See:
http://developer.gnome.org/doc/API/2.0/gobject/gobject-Signals.html
--jkl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]