Esc

poll_native_menu

procedureextensionexperimentalsince 0.36.1Source
  • macOS: poll_native_menu works on macOS
  • Linux: poll_native_menu works on Linux
  • Windows: poll_native_menu works on Windows
  • Wasm: poll_native_menu is not available on Wasm

Takes the next selected action ID, or zero when empty.

Signature

poll_native_menu :: (menu: *Native_Menu) -> u16

See also