Hello,
is it possible to connect Gtk::Action added to Gtk::ActionGroup using
sigc::bind binded method?

This code:
m_refActionConnectionsGroup->add(Gtk::Action::create((*it).c_str()),
sigc::bind(sigc::mem_fun(*this, &MainWindow::on_menu_connection_connect),
(*it)));

gives this error:
Error    1    error C2064: term does not evaluate to a function taking 0
arguments    c:\program files
(x86)\gtkmm\include\sigc++-2.0\sigc++\adaptors\adaptor_trait.h    251
db2client

How can i connect action in menubar with slot which takes name of menuitem
as argument?

Thanks

--
---
Adam Kovari(mailto:[email protected])
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to