Re: data in signal association. (user_data on GTK+)
- From: Murray Cumming <murrayc murrayc com>
- To: Krzysztof Kosiński <tweenk pl gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: data in signal association. (user_data on GTK+)
- Date: Thu, 21 Jan 2010 11:40:01 +0100
On Wed, 2010-01-20 at 23:49 +0100, Krzysztof Kosiński wrote:
> void cb_menu_click(const char *test_param) { ... }
> ...
> tmp_item->signal_activate().connect(sigc::mem_fun(*this,
> &App::cb_menu_click), "test");
I think you are missing a sigc::bind() there.
http://libsigc.sourceforge.net/libsigc2/docs/manual/html/ch04.html
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]