Expand description
Panels are declared, never hard-coded: a plugin or the shell says what a panel is and where it goes by default; the shell places it, saves where the user moved it, and offers its commands.
Structs§
- Panel
Host - A host a panel may be put in: the place, and what the host offers there (ADR 0013).
- Panel
Spec - A panel as declared: its id, title, areas, sizes, and whether it opens
once or as many times as asked (
PanelSpec::instances). - Panels
- The declared panels, each owned.
Enums§
- Area
- The shell’s areas. Start and end, not left and right: ready for right-to-left layouts.
- Instances
- How many of a panel may be open at once (
PanelSpec::instances). - Panel
Kind - What a panel does to what the application edits (a document, a
photo): shows it, edits it, or shows it with parts that edit it. The
application declares it (
PanelSpec::kind); the panel’s chrome shows an “edits” mark for a control or mixed panel, never the panel. - Place
- Where a panel is put: one of the shell’s areas, floating over the interface as a palette, or detached into a window of its own.