elementary / granite

Library that extends GTK with common widgets and utilities
https://elementary.io
GNU Lesser General Public License v3.0
286 stars 60 forks source link

Toast: Add withdraw method #665

Closed danirabbit closed 11 months ago

danirabbit commented 11 months ago

It looks like in some cases we want to be able to withdraw the currently sent toast and we were relying on accessing the revealer directly for that. This adds a proper withdraw function that also stops the timeout.

https://github.com/search?q=org%3Aelementary%20toast.reveal_child%20%3D%20false%3B&type=code