[gtkmm] how to get the value of a CheckMenuElem



Hi!

I added a CheckMenuElem to my menu and I wonder how I tell my callback the value of CheckMenuElem (true/false) ???

m_view_menu = manage(new Menu());
MenuList& vl = m_view_menu->items();
vl.push_back(Gtk::Menu_Helpers::CheckMenuElem("View Toolbar", slot(m_mw, &ConstraintGui::viewToolbarCallback)));


Thx in advance,
Andi




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