Tauri Core API - v2.6.0
    Preparing search index...

    Interface CheckMenuItemOptions

    Options for creating a new check menu item.

    interface CheckMenuItemOptions {
        checked?: boolean;
        id?: string;
        text: string;
        enabled?: boolean;
        accelerator?: string;
        action?: (id: string) => void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    checked?: boolean

    Whether the new check menu item is enabled or not.

    id?: string

    Specify an id to use for the new menu item.

    text: string

    The text of the new menu item.

    enabled?: boolean

    Whether the new menu item is enabled or not.

    accelerator?: string

    Specify an accelerator for the new menu item.

    action?: (id: string) => void

    Specify a handler to be called when this menu item is activated.