hoodie / notify-rust

☝️send desktop notifications from your Rust app.
Apache License 2.0
1.17k stars 75 forks source link

Closing a notification programmatically #226

Closed e-tho closed 3 months ago

e-tho commented 3 months ago

I would like to be able to programmatically close a notification once an action is completed in my application, rather than relying on a timeout. This crate does not seem to provide a way to do this, is this an XDG limitation?

mwinters0 commented 3 months ago

https://docs.rs/notify-rust/latest/notify_rust/struct.NotificationHandle.html#method.close

e-tho commented 3 months ago

I should've RTFM, thanks.