Module egui::containers
source ยท Expand description
Containers are pieces of the UI which wraps other pieces of UI. Examples: Window
, ScrollArea
, Resize
, SidePanel
, etc.
For instance, a Frame
adds a frame and background to some contained UI.
Re-exportsยง
pub use collapsing_header::CollapsingHeader;
pub use collapsing_header::CollapsingResponse;
pub use frame::Frame;
pub use modal::Modal;
pub use modal::ModalResponse;
pub use panel::CentralPanel;
pub use panel::SidePanel;
pub use panel::TopBottomPanel;
pub use scroll_area::ScrollArea;
pub use popup::*;
Modulesยง
- area ๐Area is a
Ui
that has no parent, it floats on the background. It has no frame or own size. It is potentially movable. It is the foundation for windows and popups. - combo_
box ๐ - Frame container
- Show popup windows, tooltips, context menus etc.
- resize ๐
- sides ๐
- window ๐
Structsยง
- An area on the screen that can be moved by dragging.
- State of an
Area
that is persisted between frames. - A drop-down selection menu with a descriptive label.
- A region that can be resized by dragging the bottom right corner.
- Put some widgets on the left and right sides of a ui.
- Builder for a floating window which can be dragged, closed, collapsed, resized and scrolled (off by default).
Enumsยง
- Indicate whether a popup will be shown above or below the box.
Type Aliasesยง
- A function that paints the
ComboBox
icon