hoodie / notify-rust

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

Closing a notification programmatically #226

Closed e-tho closed 2 months ago

e-tho commented 2 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 2 months ago

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

e-tho commented 2 months ago

I should've RTFM, thanks.