Module tray

Source

Modules§

menu
Re-export of muda crate and used for tray context menu.

Structs§

Icon
An icon used for the window titlebar, taskbar, etc.
Rect
Describes a rectangle including position (x - y axis) and size.
TrayContext
TrayIcon
Tray icon struct and associated methods.
TrayIconAttributes
Attributes to use when creating a tray icon.
TrayIconBuilder
TrayIcon builder struct and associated methods.
TrayIconId
An unique id that is associated with a tray icon.

Enums§

BadIcon
An error produced when using Icon::from_rgba with invalid arguments.
Error
Errors returned by tray-icon.
MouseButton
Describes which mouse button triggered the event..
MouseButtonState
Describes the mouse button state.
TrayEvent
TrayIconEvent
Describes a tray icon event.

Type Aliases§

Result
Convenient type alias of Result type for tray-icon.
TrayIconEventReceiver
A reciever that could be used to listen to tray events.