Re: Signal handler.
- From: Keith Sharp <kms passback co uk>
- To: Carlos Savoretti <csavoretti clubsanjorge com ar>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Signal handler.
- Date: Wed, 31 Dec 2003 10:35:58 +0000
On Tue, 2003-12-30 at 17:37, Carlos Savoretti wrote:
Hi all of you.
My question could be rather stupid but I can't get and answer.
I need to get the signal handler already connected to a GtkTreeView,
How about: g_signal_handler_find ():
http://developer.gnome.org/doc/API/2.0/gobject/gobject-Signals.html#g-signal-handler-find
You might want to use: g_signal_handler_is_connected ():
http://developer.gnome.org/doc/API/2.0/gobject/gobject-Signals.html#g-signal-handler-is-connected
to make sure you've got the right handler.
specifically "row-activated", to reset it in a newly created instance.
And then: g_signal_handlers_disconnect_by_func ():
http://developer.gnome.org/doc/API/2.0/gobject/gobject-Signals.html#g-signal-handlers-disconnect-by-func
And then connect up your new handler.
Is it possible ?
Looks like it :-) But I've never done it myself.
Keith.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]