Skip to content

PredefinedMenuItemOptions

Module @netwiv/api/menu · Kind Interface

import { PredefinedMenuItemOptions } from '@netwiv/api/menu';

Options for creating a new predefined menu item.

item: "Separator" | "Copy" | "Cut" | "Paste" | "SelectAll" | "Undo" | "Redo" | "Minimize" | "Maximize" | "Fullscreen" | "Hide" | "HideOthers" | "ShowAll" | "CloseWindow" | "Quit" | "Services" | "BringAllToFront" | { About: AboutMetadata | null; }

The predefined item type

text?: string | undefined

The text of the new predefined menu item.


Descriptions come from the pinned @tauri-apps/api@2.11.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.