OptionaliconIcon to be used for the new icon menu item.
Note that you may need the image-ico or image-png Cargo features to use this API.
To enable it, change your Cargo.toml file:
[dependencies]
tauri = { version = "...", features = ["...", "image-png"] }
OptionalidSpecify an id to use for the new menu item.
The text of the new menu item.
OptionalenabledWhether the new menu item is enabled or not.
OptionalacceleratorSpecify an accelerator for the new menu item.
OptionalactionSpecify a handler to be called when this menu item is activated.
Options for creating a new icon menu item.