Hello, I was wondering if it is possible to show images/bitmaps or something similar in the tray menu items on windows. Looking through the docs and github issues I could only find that this is supposed to be introduced in v2 through muda but couldn't find if that ever actually happened and how. I am simply trying to show some modern colored emojis in the tray menu but unfortunately windows does not seem to use Segoe UI Emojis so I was hoping to just use the pngs instead.
#Use Images/Icons inside the tray menu on windows?
2 messages · Page 1 of 1 (latest)
i don't think i've seen someone use it in trays yet but judging from the exported apis it should be possible.
there's a minimal guide to show how to add a menu to a tray: https://v2.tauri.app/learn/system-tray/#add-a-menu.
since it doesn't contain the icon example: you're looking for IconMenuItem
the window menu guide shows how to create them (and other stuff) https://v2.tauri.app/learn/window-menu/#change-menu-status