Boost.UI
User Interface Boost library
|
Menu (list of commands) class. More...
Classes | |
class | item |
Menu item. More... | |
Public Types | |
typedef void * | native_handle_type |
Implementation-defined menu type. | |
Public Member Functions | |
menu (const uistring &text) | |
Constructs menu with associated text label with mnemonics. More... | |
void | popup (widget &w) |
Popups context menu at current mouse postion related to widget w. More... | |
menu & | append (const item &i) |
Appends menu item as subitem. | |
menu & | operator<< (const item &i) |
Appends menu item as subitem. | |
menu & | append (const menu &i) |
Appends menu as subitem. | |
menu & | operator<< (const menu &i) |
Appends menu as subitem. | |
menu & | append (const separator &i) |
Appends separator. | |
menu & | operator<< (const separator &i) |
Appends separator. | |
native_handle_type | native_handle () |
Returns the implementation-defined underlying menu handle. | |
const native_handle_type | native_handle () const |
Returns the implementation-defined underlying menu handle. | |
Menu (list of commands) class.
boost::ui::menu::menu | ( | const uistring & | text | ) |
Constructs menu with associated text label with mnemonics.
void boost::ui::menu::popup | ( | widget & | w | ) |
Popups context menu at current mouse postion related to widget w.