Menu
Presents commands in a native pop-up menu.
<Menu ... />
Topics
Properties
| Name | Type | Required | Description |
|---|---|---|---|
items |
table | required | MenuItem descriptions and actions. |
title |
string | optional | Menu button label. |
systemImage |
string | optional | SF Symbol shown on the menu button. |
imagePath |
string | optional | Image file shown on the menu button. |
style |
string | optional | plain or glass button appearance. |
symbolSize |
number | optional | SF Symbol point size. |
Platform notes
- AppKit NSPopUpButton and NSMenu.
Source: lua/embedded/AppKit.lua:450 (AppKit.Menu)