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.
Modules§
- collapsing_
header - frame
- Frame container
- panel
- Panels are
Uiregions taking up e.g. the left side of aUior screen. - popup
- Show popup windows, tooltips, context menus etc.
- scroll_
area
Structs§
- 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.
- 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.
- Frame
- Add a background, frame and/or margin to a rectangular background of a
Ui. - Resize
- A region that can be resized by dragging the bottom right corner.
- Scroll
Area - Add vertical and/or horizontal scrolling to a contained
Ui. - Side
Panel - A panel that covers the entire left or right side of a
Uior screen. - Sides
- Put some widgets on the left and right sides of a ui.
- TopBottom
Panel - A panel that covers the entire top or bottom of a
Uior screen. - Window
- Builder for a floating window which can be dragged, closed, collapsed, resized and scrolled (off by default).
Enums§
- Above
OrBelow - Indicate whether a popup will be shown above or below the box.
- Popup
Close Behavior - Determines popup’s close behavior
Functions§
- next_
tooltip_ id - What is the id of the next tooltip for this widget?
- popup_
above_ or_ below_ widget - Shows a popup above or below another widget.
- popup_
below_ widget - Helper for
popup_above_or_below_widget. - seconds_
since_ last_ tooltip - show_
tooltip - Show a tooltip at the current pointer position (if any).
- show_
tooltip_ at - Show a tooltip at the given position.
- show_
tooltip_ at_ pointer - Show a tooltip at the current pointer position (if any).
- show_
tooltip_ for - Show a tooltip under the given area.
- show_
tooltip_ text - Show some text at the current pointer position (if any).
- tooltip_
id - was_
tooltip_ open_ last_ frame - Was this popup visible last frame?
Type Aliases§
- Icon
Painter - A function that paints the
ComboBoxicon