Boost.UI
User Interface Boost library
|
Menu item. More...
Public Types | |
typedef void * | native_handle_type |
Implementation-defined menu item type. | |
Public Member Functions | |
item (const uistring &text) | |
Constructs menu item with associated text label with mnemonics. More... | |
template<class F , class ... Args> | |
item & | on_press (F &&f, Args &&... args) |
Connects menu item press handler. | |
native_handle_type | native_handle () |
Returns the implementation-defined underlying menu item handle. | |
const native_handle_type | native_handle () const |
Returns the implementation-defined underlying menu item handle. | |
Menu item.
boost::ui::menu::item::item | ( | const uistring & | text | ) |
Constructs menu item with associated text label with mnemonics.