Module trayicon

Source
Expand description

tray icon

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.
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.
TrayIconEvent
Describes a tray icon event.

Functions§

default_tray_icon
Returns a default tray icon menu
init_tray_icon
initializes a tray icon
use_tray_icon
Provides a hook to the tray icon

Type Aliases§

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