SystemTray (#3123)

* Added tray icon
This commit is contained in:
Klemen authored and GitHub committed 2024-10-31 12:46:17 -07:00
1 parent 281087469a
commit 292f757d5d
8 files changed
+169

No files matched your search

+6
View File
@@ -11,6 +11,12 @@ pub enum UserWindowEvent {
#[cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))]
MudaMenuEvent(muda::MenuEvent),
#[cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))]
TrayIconEvent(tray_icon::TrayIconEvent),
#[cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))]
TrayMenuEvent(tray_icon::menu::MenuEvent),
/// Poll the virtualdom
Poll(WindowId),