-
Notifications
You must be signed in to change notification settings - Fork 66
How to use set_icon_from_buffer #24
Comments
Also what encoding does the |
It's useful when you have an icon representation in memory and want to use it. May be useful in cases when the icon is embedded in the executable (so that you don't need to ship a separate icon file) or when you downloaded an icon from internet (or any other similar scenario). I tried to use it with PNG and ICO files and it worked for me (in Windows and Mac OS). |
Could you please give an example ? |
I also wonder how to do this, I tried with
|
Fix the set resource bug qdot#24
I found the bug, this should contain the length: systray-rs/src/api/win32/mod.rs Line 421 in cbddc6e
PR here #45 Btw, if you use VSCode you can monkey patch the systray: Go to definition, then just writing over the file inside the .cargo registry cache. Then just |
I've got some libappindicator updates to bring in too, so I'll try to get this in and get a new release out in the next few days. |
Fix the set resource bug qdot#24
Looking at the example we get a reference to
systray::Application
which doesn't haveset_icon_from_buffer
. I see it in mod.rs (on Windows here).The text was updated successfully, but these errors were encountered: