22 releases

0.1.3 Dec 13, 2021
0.1.2 Nov 27, 2021
0.1.1 Mar 2, 2021
0.1.0-beta.18 Jul 15, 2020

#822 in GUI

Download history 26/week @ 2023-12-11 41/week @ 2023-12-18 16/week @ 2023-12-25 35/week @ 2024-01-01 44/week @ 2024-01-08 19/week @ 2024-01-15 33/week @ 2024-01-22 20/week @ 2024-01-29 23/week @ 2024-02-05 26/week @ 2024-02-12 71/week @ 2024-02-19 68/week @ 2024-02-26 60/week @ 2024-03-04 74/week @ 2024-03-11 46/week @ 2024-03-18 59/week @ 2024-03-25

242 downloads per month
Used in bitwarden-autotype

MIT license

45KB
1K SLoC

TrayIcon

Currently I target Windows tray icon implementation, with popup menu, click, double click events. Goal is to provide a channel for events and ability to plug in winit event loop easily.

Open here a full working example with winit crate 🢅

TODO

Provide coordinates of the Tray Icon area for custom popups.

Alternatives

Most mature alternative is qdot's systray-rs. Unfortunately I got frustrated with the API in it and decided to rewrite my own. This however largely does not use the code in it, instead I loaned my old C/C++ code repository as a template.


lib.rs:

Example

Open full example with winit here 🢅

Dependencies

~0–2MB
~41K SLoC