struct

TUI::DetailLine

Inherits Struct < Value < Object

One label/value row in a DetailView. label is plain text; value is a styled Cell so a row can carry its own color/emphasis independent of DetailView's own rendering (bold labels, dimmed wrap markers, etc).

Constructors

new(label : String, value : Cell)
Source
new(label : String, value : String)
Source

Instance methods

clone
Source
copy_with(label _label = @label, value _value = @value)
Source
label
value