egui-notify
Simple notifications library for egui


Usage
use Toasts;
use Duration;
// initialize once
let mut toasts = default;
// somewhere within [egui::App::update]...
toasts.info.set_duration;
// ...
toasts.show;
Installation
[]
= "0.4"
Difference to egui-toast
egui-notify has
- Animations for appearing/disappearing toasts
- Duration meter for expiring toasts
- Toast positioning not influenced by which
Contextyou pass to it (like if for example, you passed in aContextalready altered for anegui::Window) - Differing methodology (create
Toastsinstance once, save save somewhere in application state) - No support for custom toasts