Available on crate feature
egui only.Expand description
Containers are pieces of the UI which wraps other pieces of UI. Examples: Window, ScrollArea, Resize, Panel, etc.
For instance, a Frame adds a frame and background to some contained UI.
Modules§
- collapsing_
header - frame
- Frame container
- menu
- Popup menus, context menus and menu bars.
- modal
- panel
- Panels are
Uiregions taking up e.g. the left side of aUior screen. - scroll_
area - See
ScrollAreafor docs.
Structs§
- Aligned
- Align some widgets of unknown size within the available space of a
Ui. - Area
- An area on the screen that can be moved by dragging.
- Area
State - State of an
Areathat is persisted between frames. - Central
Panel - A panel that covers the remainder of the screen, i.e. whatever area is left after adding other panels.
- Closable
Tag - A tag to mark a container as closable.
- Collapsing
Header - A header which can be collapsed/expanded, revealing a contained
Uiregion. - Collapsing
Response - The response from showing a
CollapsingHeader. - Combo
Box - A drop-down selection menu with a descriptive label.
- Drag
PanButtons - Specifies which pointer buttons can be used to pan the scene by dragging.
- Frame
- A frame around some content, including margin, colors, etc.
- Modal
- A modal dialog.
- Modal
Response - The response of a modal dialog.
- Panel
- A panel that covers an entire side
(
left,right,toporbottom) of aUior screen. - Panel
State - State regarding panels.
- Popup
- A popup container.
- Resize
- A region that can be resized by dragging the bottom right corner.
- Scene
- A container that allows you to zoom and pan.
- Scroll
Area - Add vertical and/or horizontal scrolling to a contained
Ui. - Sides
- Put some widgets on the left and right sides of a ui.
- Tooltip
- Window
- Builder for a floating window which can be dragged, closed, collapsed, resized and scrolled (off by default).
Enums§
- Popup
Anchor - What should we anchor the popup to?
- Popup
Close Behavior - Determines popup’s close behavior
- Popup
Kind - Is the popup a popup, tooltip or menu?
- SetOpen
Command - Window
Drag - Where the user can drag to move a
Window.
Type Aliases§
- Icon
Painter - A function that paints the
ComboBoxicon