Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SystemTray #3123

Merged
merged 5 commits into from
Oct 31, 2024
Merged

SystemTray #3123

merged 5 commits into from
Oct 31, 2024

Conversation

Klemen2
Copy link
Contributor

@Klemen2 Klemen2 commented Oct 28, 2024

Closes: #2138

  • Initialize a tray icon with
    init_tray_icon(default_tray_icon(), None);

Default behaviour:

  • left click to show the app
  • right click to show context menu

Unfortunatly due to #3113 you have to use use_window().set_visible(false); to actually hide the app at least on windows 11

@jkelleyrtp jkelleyrtp merged commit 292f757 into DioxusLabs:main Oct 31, 2024
17 checks passed
@jkelleyrtp
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-add SystemTray from Tauri
2 participants