Crate bevy_tray_icon

Crate bevy_tray_icon 

Source
Expand description

The plugin to handle system tray from bevy world

Modules§

error
Defines the library result and error.
menu
Re-export of muda crate and used for tray context menu.
plugin
Defines the plugins allows you manipulation of the system tray.
resource
Resources used by this plugin.

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.

Type Aliases§

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