Skip to main content

egui_elements/widgets/
mod.rs

1//! Themed widgets that read visuals from an installed [`Theme`](crate::theme::Theme).
2//!
3//! These types shadow a few egui names (`Button`, `ComboBox`, `Window`). Prefer
4//! `egui_elements::widgets::{Button, ComboBox, Label, Window, …}` after
5//! `use eframe::egui::*`, or alias the egui types.
6//!
7//! Visuals resolve in this order: the value passed to `.visuals(...)` →
8//! the theme stored on [`egui::Context`] by [`Theme::install`](crate::theme::Theme::install)
9//! → stock [`egui::Style`].
10
11pub mod button;
12pub mod combo_box;
13pub mod label;
14pub mod modal;
15pub mod multi_label;
16pub mod secure_text_edit;
17pub mod window;
18
19pub use button::Button;
20pub use combo_box::ComboBox;
21pub use label::Label;
22pub use modal::Modal;
23pub use multi_label::MultiLabel;
24pub use secure_text_edit::SecureTextEdit;
25pub use window::Window;