Package-level declarations
Types
Functions
Link copied to clipboard
external fun newMenu(kind: ItemKind, opts: SubmenuOptions = definedExternally): Promise<Tuple2<Double, String>>
external fun newMenu(kind: ItemKind, opts: CheckMenuItemOptions = definedExternally): Promise<Tuple2<Double, String>>
external fun newMenu(kind: ItemKind, opts: IconMenuItemOptions = definedExternally): Promise<Tuple2<Double, String>>
external fun newMenu(kind: ItemKind, opts: MenuItemOptions = definedExternally): Promise<Tuple2<Double, String>>
external fun newMenu(kind: ItemKind, opts: MenuOptions = definedExternally): Promise<Tuple2<Double, String>>
external fun newMenu(kind: ItemKind, opts: PredefinedMenuItemOptions = definedExternally): Promise<Tuple2<Double, String>>
Creates a menu or menu item on the Rust side. Implementation detail of the new static methods of the menu classes.
Link copied to clipboard
Transforms menu items from various types into a type acceptable by Rust.