W dniu 21 stycznia 2010 11:40 użytkownik Murray Cumming
<murr...@murrayc.com> napisał:
>> 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

Oops, that's right - a typo :) Of coure it should be:

tmp_item->signal_activate().connect(
   sigc::bind(
      sigc::mem_fun(*this, &App::cb_menu_click),
      "test"
   )
);

Regards, Krzysztof
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to