Enum tauri_runtime::SystemTrayEvent[][src]

pub enum SystemTrayEvent {
    MenuItemClick(u16),
    LeftClick {
        position: PhysicalPosition<f64>,
        size: PhysicalSize<f64>,
    },
    RightClick {
        position: PhysicalPosition<f64>,
        size: PhysicalSize<f64>,
    },
    DoubleClick {
        position: PhysicalPosition<f64>,
        size: PhysicalSize<f64>,
    },
}
Expand description

A system tray event.

Variants

MenuItemClick

Tuple Fields of MenuItemClick

0: u16
LeftClick

Fields of LeftClick

position: PhysicalPosition<f64>size: PhysicalSize<f64>
RightClick

Fields of RightClick

position: PhysicalPosition<f64>size: PhysicalSize<f64>
DoubleClick

Fields of DoubleClick

position: PhysicalPosition<f64>size: PhysicalSize<f64>

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.