Struct tao::system_tray::SystemTray [−][src]
pub struct SystemTray(pub SystemTrayPlatform);
Expand description
Represents a System Tray instance.
Tuple Fields
0: SystemTrayPlatform
Implementations
Set new tray icon.
Platform-specific
- macOS / Windows:: receive icon as bytes (
Vec<u8>
) - Linux:: receive icon’s path (
PathBuf
)
Set new tray menu.