TUI::DetailView
Inherits TUI::Scrollable < Reference < Object
Constants
Default column width reserved for a row's label, before the value
column starts — shared by #render_content and #render_line so
labels and wrapped continuation lines always align. Override via
#initialize's label_width for consumers with longer labels.
Constructors
Instance methods
Total scrollable content rows. Does NOT include a header row — header is content-internal (TableView-specific), not Window's.
A positional (mouse) event, pre-translated by Window into content-local row/col (0,0 = content's own first cell).
Everything but positional mouse hit-testing.
Loads new content. Callers using a Window-hosted DetailView should also call the Window's #reset_scroll afterward — this class has no Scroller of its own to reset (Window owns it).
Fires when the host app should dismiss this DetailView (e.g. its own Esc/"back" binding) — DetailView never pops itself off a nav stack; the host decides what "closing" means.
Fires when the host app should dismiss this DetailView (e.g. its own Esc/"back" binding) — DetailView never pops itself off a nav stack; the host decides what "closing" means.
Render into buffer, a region already sized to the content area
(border/scrollbar column already excluded by Window). Row 0 is
content's own first row.
Applied to the trailing \ continuation marker on soft-wrapped
value lines (see #render_line).
Applied to the trailing \ continuation marker on soft-wrapped
value lines (see #render_line).