Skip to main content

Module panels

Module panels 

Source
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§

PanelHost
A host a panel may be put in: the place, and what the host offers there (ADR 0013).
PanelSpec
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).
PanelKind
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.