Home | Libraries | People | FAQ | More |
boost::ui::menu — Menu (list of commands) class.
// In header: <boost/ui/menu.hpp> class menu { public: // types typedef void * native_handle_type; // Implementation-defined menu type. // member classes/structs/unions // Menu item. class item : private noncopyable { public: // types typedef void * native_handle_type; // Implementation-defined menu item type. // construct/copy/destruct item(const uistring &); // public member functions template<typename F, class ... Args> item & on_press(F &&, Args &&...); // private member functions void on_press_raw(const boost::function< void()> &); }; // construct/copy/destruct menu(); menu(const uistring &); ~menu(); // public member functions void popup(widget &); };
See Also:
menu
public
construct/copy/destructmenu();
menu(const uistring & text);Constructs menu with associated text label with mnemonics.
See Also:
~menu();
menu
public member functionsvoid popup(widget & w);Popups context menu at current mouse postion related to widget w.
See Also:
See Also: