Struct wry::application::menu::CustomMenuItem [−][src]
pub struct CustomMenuItem(pub MenuItemAttributes);
Expand description
Custom menu item, when clicked an event is emitted in the EventLoop.
You can modify the item after it’s creation.
Tuple Fields
0: MenuItemAttributes
Implementations
Base CustomMenuItem
functions.
Modifies the status of the menu item.
Modifies the selected state of the menu item.
Platform-specific
- Linux: Unsupported, render a regular item
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CustomMenuItem
impl !Send for CustomMenuItem
impl !Sync for CustomMenuItem
impl Unpin for CustomMenuItem
impl UnwindSafe for CustomMenuItem
Blanket Implementations
Mutably borrows from an owned value. Read more