SourceModule containers
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 | CollapsingHeader, CollapsingResponse, CollapsingState, paint_default_icon |
| frame | Frame container |
| menu | Popup menus, context menus and menu bars. |
| modal | Modal, ModalResponse |
| panel | Panels are |
| scroll_area | See |
Classes§
| Area | An area on the screen that can be moved by dragging. |
| AreaState | State of an |
| ClosableTag | A tag to mark a container as closable. |
| ComboBox | A drop-down selection menu with a descriptive label. |
| DragPanButtons | Specifies which pointer buttons can be used to pan the scene by dragging. |
| Popup | A popup container. |
| PopupAnchor Enum | What should we anchor the popup to? |
| PopupCloseBehavior Enum | Determines popup's close behavior |
| PopupKind Enum | Is the popup a popup, tooltip or menu? |
| Resize | A region that can be resized by dragging the bottom right corner. |
| Scene | A container that allows you to zoom and pan. |
| SetOpenCommand Enum | |
| 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). |
| WindowDrag Enum | Where the user can drag to move a |
Functions§
| paint_resize_corner | |
| paint_resize_corner_with_style |
SourceFunction paint_resize_corner§
from egui import paint_resize_cornerdef paint_resize_corner(ui: Ui, response: Response) -> NoneSourceFunction paint_resize_corner_with_style§
from egui import paint_resize_corner_with_styledef paint_resize_corner_with_style(ui: Ui, rect: Rect, color: Color32, corner: Align2) -> None