Re: [gnomemm] Re: libglademm-2 functions for signals
- From: Kfir Ozer <ufk2k yahoo com>
- To: gnomemm-list gnome org
- Subject: Re: [gnomemm] Re: libglademm-2 functions for signals
- Date: Fri, 14 Mar 2003 04:31:50 +0200
any special reason why there isn't galde_xml_signal_autoconnect?
too slow? not portable? what's the issue?
On 2003.03.13 21:05 Ole Laursen wrote:
Murray Cumming Comneon com writes:
> > i checked and saw that libglade has
> > glade_xml_signal_autoconnect anything like that for libglademm?
>
> No. libglademm 1 had something like this, but nobody has yet
investigated
> how it worked, or tried to port that functionality to libglademm 2.
So you need to connect the signals yourself, e.g.:
void on_close_clicked();
// ...
Gtk::Button *button;
ui->get_widget("my_button", button);
button->signal_clicked().connect(SigC::slot(&on_close_clicked));
--
Ole Laursen
http://www.cs.auc.dk/~olau/
_______________________________________________
gnomemm-list mailing list
gnomemm-list gnome org
http://mail.gnome.org/mailman/listinfo/gnomemm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]