pub enum Event {
Show 13 variants
Added,
Removed,
UpdatedTitle,
UpdatedStatus,
UpdatedIconThemePath,
UpdatedIconName,
UpdatedIconPixmap,
UpdatedAttentionIconName,
UpdatedAttentionIconPixmap,
UpdatedOverlayIconName,
UpdatedOverlayIconPixmap,
UpdatedToolTip,
UpdatedMenu,
}Expand description
A change of an Item, delivered through the event_fn of Host::process_events.
Variants§
Added
The item was registered and its properties retrieved.
Note: The item’s menu will not be fetched at the time of this event, but all other item properties should be present.
Removed
The item was removed.
UpdatedTitle
Item::title was updated.
UpdatedStatus
Item::status was updated.
UpdatedIconThemePath
Item::icon_theme_path was updated.
UpdatedIconName
Item::icon_name was updated.
UpdatedIconPixmap
Item::icon_pixmap was updated.
UpdatedAttentionIconName
Item::attention_icon_name was updated.
UpdatedAttentionIconPixmap
Item::attention_icon_pixmap was updated.
UpdatedOverlayIconName
Item::overlay_icon_name was updated.
UpdatedOverlayIconPixmap
Item::overlay_icon_pixmap was updated.
UpdatedToolTip
Item::tool_tip was updated.
UpdatedMenu
Item::menu was updated.
Trait Implementations§
impl Copy for Event
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more