-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[feat] Tray add set_title API #3322
Comments
do you mean system tray tooltip or change a menu item's title in the system tray menu? because the code you posted is for SystemTray |
I mean system tary menu, API document on https://tauri.studio/docs/guides/system-tray I want use tauri make a tool for display network speed on mac(previoue version is use electron write) , electron have API tray.setTitle(title[, options]) (https://www.electronjs.org/docs/latest/api/tray) I try use a canvas to instead of text, but icon should have limit on width( only have icon width). This is a comparison of electron and tauri, electron setImage API can show any pictures size |
oh my bad, this is a macOS specific thing, I will upstream it to Tao. |
you will add two API, one is set_title , and other is set_image(allow set canvas/other image) ? or only keep set_image API , set_icon is image's special case?( electron is do it) |
upstream issue tauri-apps/tao#65
These apis won't be implemented for Tauri v1 and will wait until v2, I have upstreamed |
I think this was added in v1.2 |
Describe the problem
I use tauri build menubar application ,but I found tauri rust api not have set_title to set title
only have set_icon and set_icon_as_template
Describe the solution you'd like
add API set_title like
Alternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: