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 badge::Badge;pub use badge::BadgeCorner;pub use button::Button;pub use combo_box::ComboBox;pub use frame::Frame;pub use hold::HoldBurst;pub use hold::HoldSettings;pub use label::Label;pub use modal::Modal;pub use multi_label::MultiLabel;pub use particles::Light;pub use particles::LightMotion;pub use particles::LightSettings;pub use particles::Lightning;pub use particles::LightningSettings;pub use particles::ParticleLayer;pub use particles::Snow;pub use particles::SnowSettings;pub use secure_text_edit::SecureTextEdit;pub use window::Window;
Modules§
- badge
- Corner badges — small notification circles painted over a themed widget.
- button
- combo_
box - frame
- hold
- Hold-to-confirm settings: the completion burst and the public knobs for a
Button::holdaction. - label
- modal
- Modal dialog — a centered themed card over a dimmed backdrop.
- multi_
label - particles
- Particle effects for egui.
- secure_
text_ edit - window
Window—egui::Windowwith a title fill that stays put.