Expand description
How big each docked pane is drawn, for Pane layout (docs/specs/SPEC_AGENT_PANE_PLACEMENT_FLOATING_2026_11_22.md §2.3).
A docked pane’s pixel size is a layout result that only the window knows, so Pane layout asks each window for the
panes of the tab it shows, in a measurepanes event, and the window answers with pane.floatplaced and sizes (the
same request, wait and answer the floating panes use). A pane the window does not draw (its tab is not showing, the
window is hidden or still starting) gets size: null and the reason, never a made-up size. share (the layout as
stored) needs no window and is reported either way.
Constants§
- WAIT 🔒
- How long
Pane layoutwaits for a window to say how big its panes are.
Functions§
- answered 🔒
- A window’s answer (
pane.floatplacedwithsizes). Whether a call was still waiting for it. - ask 🔒
- Ask the window
window_idhow big it drawsblocks, and wait for its answer. - report_
docked 🔒 - Put
size({ width, height }, CSS pixels as drawn) on every docked pane of each window’s showing tab, from the window’s own answer; any other docked pane, and any whose window does not answer, getssize: nulland why. - showing_
panes 🔒 - The ids of the docked panes of a window’s showing tab (a floating pane has a
rect, not a size), or none. - size_of 🔒
- A pane’s
sizefrom what its window said: whole CSS pixels, orNonewhen the window does not draw it. - waiters 🔒
Type Aliases§
- Waiters 🔒
- What a window’s answer is held in until the call that asked takes it.