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