Luart
Comprehensive Windows framework to develop in Lua
modules > ui > Menuitem

Menuitem

Menuitem is an Object representation of an existing item in a Menu.
As these objects have no constructor, they cannot be instantiated by programming. Only their owners can create them.
Menuitems are ephemeral objects that are instantiated by their owner objects, with the "items" property. It is not recommended that you store them in a table or use them globally since they may refer to menu items that have been removed.

Properties

Events

Methods