CheckMenuItem
Defined in: menu/checkMenuItem.ts:20
A check menu item inside a Menu
or Submenu
and usually contains a text and a check mark or a similar toggle
that corresponds to a checked and unchecked states.
MenuItemBase
get id():
string
Defined in: menu/base.ts:128
The id of this item.
string
MenuItemBase.id
get rid():
number
Defined in: core.ts:309
number
MenuItemBase.rid
close():
Promise
<void
>
Defined in: core.ts:321
Destroys and cleans up this resource from memory. You should not call any method on this object anymore and should drop any reference to it.
Promise
<void
>
MenuItemBase.close
isChecked():
Promise
<boolean
>
Defined in: menu/checkMenuItem.ts:71
Returns whether this check menu item is checked or not.
Promise
<boolean
>
isEnabled():
Promise
<boolean
>
Defined in: menu/checkMenuItem.ts:48
Returns whether this check menu item is enabled or not.
Promise
<boolean
>
setAccelerator(
accelerator
):Promise
<void
>
Defined in: menu/checkMenuItem.ts:62
Sets the accelerator for this check menu item.
null
| string
Promise
<void
>
setChecked(
checked
):Promise
<void
>
Defined in: menu/checkMenuItem.ts:76
Sets whether this check menu item is checked or not.
boolean
Promise
<void
>
setEnabled(
enabled
):Promise
<void
>
Defined in: menu/checkMenuItem.ts:53
Sets whether this check menu item is enabled or not.
boolean
Promise
<void
>
setText(
text
):Promise
<void
>
Defined in: menu/checkMenuItem.ts:39
Sets the text for this check menu item.
string
Promise
<void
>
text():
Promise
<string
>
Defined in: menu/checkMenuItem.ts:34
Returns the text of this check menu item.
Promise
<string
>
static
new(opts
):Promise
<CheckMenuItem
>
Defined in: menu/checkMenuItem.ts:27
Create a new check menu item.
Promise
<CheckMenuItem
>
© 2025 Tauri Contributors. CC-BY / MIT