Expand description
Desktop Notification System
Provides toast-style notification popups displayed as overlay surfaces. Notifications stack from the top-right corner of the screen and auto-expire based on urgency level. Supports programmatic dismiss and tick-based expiry.
Structs§
- Notification
- A single desktop notification.
- Notification
Manager - Manages the set of active desktop notifications.
Enums§
- Notification
Urgency - Urgency level for a notification.
Functions§
- dismiss
- Convenience: dismiss a notification by ID.
- dismiss_
all - Convenience: dismiss all notifications.
- init
- Initialize the global notification manager.
- notify
- Convenience: post a notification from anywhere in the kernel.
- tick
- Convenience: tick the notification manager (call from render loop).
- with_
notification_ manager - Execute a closure with a mutable reference to the notification manager.