-
Notifications
You must be signed in to change notification settings - Fork 55
MTY_MenuItem
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Menu item on a tray's menu.
typedef struct {
MTY_MenuItemCheckedFunc checked;
const char * label;
uint32_t trayID;
} MTY_MenuItem;
checked
(MTY_MenuItemCheckedFunc
)
Function called when the menu is opened to determine if the menu item should be checked.
label
(const char *
)
The menu item's label.
trayID
(uint32_t
)
The trayID
sent with an MTY_Event
when the menu item is selected.