Re: [gnomemm] Re: libglademm-2 functions for signals
- From: Ole Laursen <olau hardworking dk>
- To: gnomemm-list gnome org
- Subject: Re: [gnomemm] Re: libglademm-2 functions for signals
- Date: 13 Mar 2003 20:05:54 +0100
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/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]