RE: Help: how to disconnect a signal?
- From: "Tom Liu" <tom liu flextrade com>
- To: "'Narayana Pattipati'" <narayana pattipati wipro com>
- Cc: <gtk-app-devel-list gnome org>
- Subject: RE: Help: how to disconnect a signal?
- Date: Thu, 20 Nov 2003 09:48:51 -0500
I want to disconnect it and connection to another function,
stop_emission just stop, will not disconnect.
Also when i try g_signal_stop_emission_by_name(widg,"clicked"), I got
error:
(signal:8232): GLib-GObject-WARNING **:
gsignal.c:1040:g_signal_stop_emission_by_name(): no emission of signal
"clicked" to stop for instance `0x000454c8'
by the way,what is detail in string: "signal-name::detail".
Thanks.
-----Original Message-----
From: gtk-app-devel-list-admin gnome org
[mailto:gtk-app-devel-list-admin gnome org] On Behalf Of Narayana
Pattipati
Sent: Thursday, November 20, 2003 12:35 AM
To: Tom Liu
Cc: gtk-app-devel-list gnome org
Subject: Re: Help: how to disconnect a signal?
Try using g_signal_stop_emission_by_name().
Regards,
Narayana
Tom Liu wrote:
I want to disconnect all the "clicked" signal from a button. I spend
an
hour already, don't know how to use the function
g_signal_handlers_disconnect_matched
I tried: g_object_disconnect (G_OBJECT(w),"clicked") also. Doesn't
work.
Thanks......
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]