How to display/hide/destroy tray icon dynamically? #10180
-
I'm trying to add the ability to hide or show the tray icon by a switcher in UI. Seems I could use AppHandle.tray_handle().destroy() to remove it, but I don't know how to make it display again.... Do I need to do initialation like the first time again? Or any other better way? |
Beta Was this translation helpful? Give feedback.
Answered by
FabianLars
Jul 3, 2024
Replies: 1 comment
-
In v1, yes. In v2 there's a set_visibile function too. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Cowjiang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In v1, yes. In v2 there's a set_visibile function too.