Binding extra arguments
- From: "SaiKamesh Rathinasabapathy" <rsaikamesh gmail com>
- To: gtkmm-list gnome org
- Subject: Binding extra arguments
- Date: Mon, 12 Mar 2007 17:59:37 +0530
Hi,
I want to bind extra arguments to my signal handler.
I read about "Binding extra arguments" in "programming with gtkmm" tutorial.
I found the following example:
m_button1.signal_clicked().connect( sigc::bind<Glib::ustring>( sigc::mem_fun(*this, &HelloWorld::on_button_clicked), "button 1") );
In this example only one argument is bound(Glib::ustring). But I want to bind two arguments to my signal handler.(int, and Glib::ustring ).
how to bind two arguments to a signal handler?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]