Menu native API.
- Namespace
- xtd::forms::native
- Library
- xtd.forms.native
- Warning
- Internal use only
◆ create()
static intptr xtd::forms::native::menu::create |
( |
| ) |
|
|
staticprotected |
Creates menu.
- Returns
- The created menu handle.
- Warning
- Internal use only
◆ destroy()
static void xtd::forms::native::menu::destroy |
( |
intptr |
menu | ) |
|
|
staticprotected |
Destroys menu.
- Parameters
-
- Warning
- Internal use only
◆ insert_item()
static void xtd::forms::native::menu::insert_item |
( |
intptr |
menu, |
|
|
size_t |
pos, |
|
|
intptr |
menu_item |
|
) |
| |
|
staticprotected |
Insert specified item to specisified position.
- Parameters
-
menu | Menu handle. |
pos | Position to insert menu item. |
menu_item | Menu item to insert. |
- Warning
- Internal use only
◆ insert_menu()
static void xtd::forms::native::menu::insert_menu |
( |
intptr |
menu, |
|
|
size_t |
pos, |
|
|
intptr |
menu_item, |
|
|
const xtd::string & |
text |
|
) |
| |
|
staticprotected |
Insert specified menu item to specisified position.
- Parameters
-
menu | Menu handle. |
pos | Position to insert menu item. |
menu_item | Menu item to insert. |
text | The text associated with this menu. |
- Warning
- Internal use only
◆ native_handle()
static intptr xtd::forms::native::menu::native_handle |
( |
intptr |
menu | ) |
|
|
staticprotected |
Gets native menu handle.
- Parameters
-
- Returns
- The native menu handle.
- Warning
- Internal use only
◆ remove_item()
static void xtd::forms::native::menu::remove_item |
( |
intptr |
menu, |
|
|
size_t |
pos |
|
) |
| |
|
staticprotected |
Remove menu item from specisified position.
- Parameters
-
menu | Menu handle. |
pos | Position to insert menu item. |
- Warning
- Internal use only
◆ text()
Sets text menu.
- Parameters
-
menu | Menu handle. |
text | The text associated with this menu. |
- Warning
- Internal use only
The documentation for this class was generated from the following file:
- xtd.forms.native/include/xtd/forms/native/menu.hpp