[gnome-love] glade_xml_signal_connect VS g_signal_connect
- From: ethan zimmerman <lists ethanzimmerman com>
- To: gnome-love gnome org
- Subject: [gnome-love] glade_xml_signal_connect VS g_signal_connect
- Date: Thu, 03 Jun 2004 23:28:24 -0400
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));
I ask because it seems no one uses the latter method which leads me to
believe there's a good reason not to.
-ethan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]