Skip to content

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;

Members

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.

See also

Module: App

Clone this wiki locally