Relative Content

Tag Archive for windowsrusttrayicon

Rust crate tray-icon: MenuEvent::set_:event_listener() problem

I tried to use the Rust crate tray-icon to create a tray icon on Windows 10. I wanted to use the function tray_icon::menu::MenuEvent::set_event_handler() to set an event handler for actions on the tray menu which appears after clicking on the tray icon with the right mouse button.
The function has the signature