sigc::mem_fun and Glib::RefPtr



Hi!

IS there a solution to use Glib::RefPtr with sigc::mem_fun?
Example:

Glib::RefPtr<MyClass> c;
...
button.signal_clicked().connect(sigc::mem_fun(c, &MyClass::on_button));

Thanks in advance:
Imre Horvath



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