Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
*table.SimpleModel
// contains filtered or unexported fields
}
Model is a table model that provides a widget that will render in one row only when not selected.
func New ¶
func New(m *table.SimpleModel, st gowid.ICellStyler) *Model
func (*Model) CellWidget ¶
Provides the ith "cell" widget, upstream makes the "row"
This is table.SimpleCellWidget with elided in place of gowid's text widget. A column too narrow for its value used to just stop drawing, so 192.0.2.10 in an eighty-column terminal read as 192.0.2.1 - a different address, just as valid, with nothing to say a digit was missing. elided ends a cut value with a marker instead. It only does so for the rows expander draws in a single line; the focused row is still shown in full.
func (*Model) HeaderWidget ¶
table.ITable2
func (*Model) HeaderWidgets ¶
Click to show internal directories.
Click to hide internal directories.