How to dynamically update System tray menu with progress #8508
Answered
by
FabianLars
billywatkins
asked this question in
Q&A
-
I am trying to create a video converter app using Tauri on Mac. I would like to display the progress of converted video files, similar to the example image provided. I have been going through the documentation, but I could not find any information. Thank you in advance. ![]() |
Beta Was this translation helpful? Give feedback.
Answered by
FabianLars
Dec 31, 2023
Replies: 1 comment 1 reply
-
Isn't this section what you're asking for? https://tauri.app/v1/guides/features/system-tray/#updating-context-menu-items let item_handle = app_handle.tray_handle().get_item("id-of-that-item");
item_handle.set_title("Currently Processing: 4/10").expect("Couldn't update tray menu entry"); // Probably don't wanna panic here though |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
billywatkins
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Isn't this section what you're asking for? https://tauri.app/v1/guides/features/system-tray/#updating-context-menu-items
Specifically this part