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(u16)
LeftClick
Show fields

Fields of LeftClick

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

Fields of RightClick

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

Fields of DoubleClick

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

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.