Signals binding with GTK objects



Hi, I was wondering if something like this is possible or not:

txt_exp_.signal_changed().connect(sigc::bind<Gtk::Entry>(sigc::mem_fun(*this, &MainWindow::txtChange), txt_exp_));

where txt_exp_ is a Gtk::Entry object, and the function is wrote like this void MainWindow::txtChange(Gtk::Entry entry) Thank you.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]