Expand description
One container for every workspace’s views (lumen’s planes, tables and plots; dsp-kitchen’s
traces and rasters): a dock whose views are tabs dragged into splits, the “Add view or
container” dialog (after Rerun’s: arrange every view, or add one), and the buttons in a view’s
tab. A workspace only lists its view kinds (ViewOption) with their flags: whether each can
be added now (and why not), which one a view shows.
Structs§
- AddView
Dialog - “Add view or container”: the arrangements, then the workspace’s views; ↑ ↓ move between the rows that can run, Enter runs one, Esc or a click outside closes.
- View
Option - A kind of view a container offers.
Enums§
- Arrangement
- How the views are laid out together.
- Dialog
Event - What the dialog asks for.
Functions§
- add_
beside - Adds
panelto the dock’s centre, split offbeside(another view’s entity) atplacementwhen it is there. - arrange
- Lays out
panelsindock’s centre ashow. - arranged
- The views laid out as
how, in order. - new_
dock - A dock for views, with the look every workspace shares (no dock toggle buttons).
- tab_
buttons - The buttons in a view’s tab: one per kind it can show (
currentselected; a click shows that kind in this view), then “+” (add a view, or arrange them). Ids:{key}-kind-{i},{key}-add. gpui-kit’s small size (about 24 px: designparsertouch-target).