Expand description
Zones and blocks (ADR 0005). A zone is a named place; blocks are drawn in it, lightest first. Four operations: add, replace, extend (before or after a block) and wrap (around a block, receiving it as a closure). They are resolved when the application is built or a plugin comes or goes, never per frame; what cannot apply is reported with what happens instead.
Structs§
Enums§
Constants§
- ACTIVITY_
BAR - A strip along the start edge, beside the side bar (the activity bar
of
strips::StripsPlugin). - CAPTION
- Items in the window’s own title bar, before its buttons (declared by
frame::FramePlugin). - CAPTION_
START - The start of the window’s own title bar (declared by
frame::FramePlugin): by default theegui_pop.frame.menublock (the system menu button and the application’s name); an application puts its logo there by replacing that block. - INSPECTOR
- The side bar at the end.
- MAIN
- The main area.
- OVERLAYS
- Drawn after the shell, every frame, in the main window only: blocks
there show what stays in the main window (the settings window, the
frame’s edges) or follow a setting. Overlays that open
in the window the user works in go in
WINDOW_OVERLAYS. - SHELL
- The shell’s zones, declared by the framework.
- SIDE_
BAR - The side bar at the start (left in left-to-right).
- STATUS_
BAR - The status bar at the bottom.
- TITLE
- Above the menu bar, the whole window’s width: a window’s own title
bar (
frame::FramePlugin), or anything an application puts there. - TOP_BAR
- The top bar, after the main menu.
- TOP_
BAR_ END - The top bar’s end: blocks drawn there, left to right, sit at the
bar’s end before the commands of
app::MENU_BAR_END(a document’s name, a readout, a widget of the application’s). They keep the width they took the pass before, as the top bar’s do; the menus overflow first. Declared by the framework beside the shell’s zones. - WINDOW_
OVERLAYS - Drawn after each window’s content, in the main window and in every
detached panel’s window: blocks there show overlays that belong to a
window (the dialogs and the command palette, over the window they
were opened from; the toasts, in the active window), each drawing
only in its own (
AppHandle::active_window, egui’sContext::viewport_id). Declared by the framework beside the shell’s zones.