Skip to main content

Module widgets

Module widgets 

Source
Expand description

Themed widgets that read visuals from an installed Theme.

These types shadow a few egui names (Button, ComboBox, Window). Prefer egui_elements::widgets::{Button, ComboBox, Label, Window, …} after use eframe::egui::*, or alias the egui types.

Visuals resolve in this order: the value passed to .visuals(...) → the theme stored on egui::Context by Theme::install → stock egui::Style.

Re-exports§

pub use button::Button;
pub use combo_box::ComboBox;
pub use label::Label;
pub use modal::Modal;
pub use multi_label::MultiLabel;
pub use secure_text_edit::SecureTextEdit;
pub use window::Window;

Modules§

button
combo_box
label
modal
Modal dialog — a centered themed card over a dimmed backdrop.
multi_label
secure_text_edit
window
Window — egui::Window with a title fill that stays put.