Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Block ¶
Block adapts *grid.Model to transcript.Block, transcript.EntityBlock and transcript.SelfFramed. Model is embedded, so every other grid method (Title, CapturesEsc, SetSize, SetFocused, SelectRow, ...) is promoted unchanged, and View(width, focused) satisfies transcript.Block as is.
The grid's own messages (grid.PinRowMsg, grid.SelectionChangedMsg, ...) are returned untouched: what "pin" means is the composing layer's decision.
func (*Block) SelfFramed ¶
SelfFramed reports that the grid draws its own complete border, so transcript must not wrap it in a card fill.
Click to show internal directories.
Click to hide internal directories.