Expand description
Re-exportsยง
pub use self::text_edit::TextBuffer;
pub use self::text_edit::TextEdit;
Modulesยง
- button ๐
- checkbox ๐
- Color picker widgets.
- drag_value ๐
- hyperlink ๐
- image ๐
- image_button ๐
- label ๐
- progress_bar ๐
- radio_button ๐
- selected_label ๐
- separator ๐
- slider ๐
- spinner ๐
Structsยง
- Clickable button with text.
- Boolean on/off control with text label.
- A numeric value that you can change by dragging the number. More compact than a
Slider
. - Stores the durations between each frame of a gif
- A clickable hyperlink, e.g. to
"https://github.com/emilk/egui"
. - A widget which displays an image.
- A clickable image within a frame.
- This type determines the constraints on how the size of an image should be calculated.
- Static text.
- Clickable text, that looks like a hyperlink.
- A simple progress bar.
- One out of several alternatives, either selected or not.
- One out of several alternatives, either selected or not. Will mark selected items with a different background color. An alternative to
RadioButton
andCheckbox
. - A visual separator. A horizontal or vertical line (depending on
Layout
). - Control a number with a slider.
- A spinner widget used to indicate loading.
Enumsยง
- This type determines how the image should try to fit within the UI.
- This type tells the
Ui
how to load an image. - Specifies the orientation of a
Slider
.
Traitsยง
- Helper so that you can do e.g.
TextEdit::State::load
.
Functionsยง
- extracts uri and frame index
- Show larger buttons for switching between light and dark mode (globally).
- Show a small button to switch to/from dark/light mode (globally).
- checks if bytes are gifs
- Show a button to reset a value to its default. The button is only enabled if the value does not already have its original value.
- Show a button to reset a value to its default. The button is only enabled if the value does not already have its original value.
- stroke_uiDeprecated