⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module notification

Module notification 

Source
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.
NotificationManager
Manages the set of active desktop notifications.

Enums§

NotificationUrgency
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.