Skip to main content

Module pin

Module pin 

Source
Expand description

A pane pinned to its window: it stays on screen, at the place it has in its own tab, in every window tab (docs/specs/SPEC_PIN_TRANSFORM_FACILITY_2026_12_02.md §9). A pin is a flag: the pane’s block stays in its tab and in that tab’s layout, so pinning and unpinning in that tab change no layout at all. Where the pane sits is read from that layout, the one place its size is kept; the workspace holds only the list of pinned blocks.

Structs§

PinRecord
One pinned pane.

Constants§

MAX_PINS
Most panes pinned to one window. One: a pinned pane is drawn over the other tabs’ panes, and two would have to be kept from covering each other.
REFUSE_ALONE
The refusal the only pane of a tab gets: drawn over the other tabs it would cover each of them whole.
REFUSE_FULL
The refusal a pin past MAX_PINS gets.
REFUSE_MAXIMIZED
The refusal a maximized pane gets: a pinned pane is drawn at its place in the layout, which a maximized pane is not at.

Functions§

next_order
The next order.
refuse_pin
Why block_id cannot be added to pins, or None when it can.