qdot / systray-rs

Allows rust applications to show a platform specific system tray icon and menu.
BSD 3-Clause "New" or "Revised" License
170 stars 66 forks source link

feat(lib) add way to manually call loop #43

Open lucasfernog opened 4 years ago

wngr commented 3 years ago

What about changing the signature like so

 pub fn wait_for_message(&mut self, timeout: Option<std::time::Duration>) -> Result<(), Error> {

and then just passing that along to the crossbeam::channel::Receiver?

BTW: I'd really like to have this functionality -- is this crate still being actively maintained?