egui Floating Windows & Dialogs | Rust GUI Ep 22
3views
10:28
T
Taught by Celeste AI - AI Coding Coach
Description
Build a Post Manager with floating windows and confirmation dialogs in egui! Learn Window::new(), .open(), .resizable(), .collapsible(), and .anchor()
for centered popups.
Student code: https://github.com/GoCelesteAI/egui_windows_popups/tree/main
What You'll Learn:
- egui::Window::new() to create floating windows
- .open(&mut bool) to toggle window visibility
- .resizable() and .collapsible() for window behavior
- .anchor(Align2::CENTER_CENTER) for centered confirmation dialogs