Re: [gnome-love] glade_xml_signal_connect VS g_signal_connect
- From: Elijah Newren <newren gmail com>
- To: ethan zimmerman <ethan ethanzimmerman com>
- Cc: gnome-love gnome org
- Subject: Re: [gnome-love] glade_xml_signal_connect VS g_signal_connect
- Date: Thu, 14 Oct 2004 09:05:27 -0600
On Thu, 03 Jun 2004 23:26:46 -0400, ethan zimmerman
<ethan ethanzimmerman com> wrote:
Is this g_signal_connect method...
widget = glade_xml_get_widget (the_widgets, "quit_button");
g_signal_connect (G_OBJECT (widget), "clicked",
G_CALLBACK (time_to_quit),
NULL);
"Better" than this glade_xml_signal_connect method...
glade_xml_signal_connect(the_widgets,
"on_quit_button_clicked",
G_CALLBACK(time_to_quit));
Absolutely. I strongly discourage the use of
glade_xml_signal_connect. See the very end of
http://www.gnome.org/~newren/tutorials/developing-with-gnome/html/re07.html
Cheers,
Elijah
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]