Skip to main content

egui/containers/
mod.rs

1//! Containers are pieces of the UI which wraps other pieces of UI. Examples: [`Window`], [`ScrollArea`], [`Resize`], [`Panel`], etc.
2//!
3//! For instance, a [`Frame`] adds a frame and background to some contained UI.
4
5pub(crate) mod area;
6mod close_tag;
7pub mod collapsing_header;
8mod combo_box;
9pub mod frame;
10pub mod menu;
11pub mod modal;
12pub mod panel;
13mod popup;
14pub(crate) mod resize;
15mod scene;
16pub mod scroll_area;
17mod sides;
18mod tooltip;
19pub(crate) mod window;
20
21pub use {
22    area::{Area, AreaState},
23    close_tag::ClosableTag,
24    collapsing_header::{CollapsingHeader, CollapsingResponse},
25    combo_box::*,
26    frame::Frame,
27    modal::{Modal, ModalResponse},
28    panel::*,
29    popup::*,
30    resize::Resize,
31    scene::{DragPanButtons, Scene},
32    scroll_area::ScrollArea,
33    sides::Sides,
34    tooltip::*,
35    window::{Window, WindowDrag},
36};