labelWidget label; interactive widgets also use it for ID generation. A ## suffix can distinguish IDs without displaying the suffix.
shortcutShortcut label displayed in the menu; this text does not register a key binding.
p_selectedSelection state in Uint8Array[0]. Write only 0 (false) or 1 (true); activation can toggle it in place. Native code accesses the supplied writable backing memory directly, not a JS scalar.
enabledWhether the item or pushed option is enabled.
True when the item is activated this frame; this is an activation event, not a persistent selected state.
Display a menu item that toggles its checked state.