Binding extra arguments



Hi,
I am trying to bind extra arguments to my signal handler. I want to bind Gtk::Button as an extra argument
like the following:

button1.signal_clicked().connect(sigc::bind<Glib::ustring, int, Gtk::Button>( sigc::mem_fun(*this, &MAIOMainWindow::on_check_clicked),"check1", i, button1));

is this possible?. is there anyother way to bind Gtk::Button as an argument? plz tell me!




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