On 2007-03-13, at 15:12:19 SaiKamesh Rathinasabapathy wrote:

> 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
> ));
You can put those extra arguments as private members of Your MAIOMainWindow
class.
Then you will be able to access them in your callback.
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to