Versions in this module Expand all Collapse all v0 v0.11.2 Feb 28, 2024 v0.11.1 Oct 31, 2021 Changes in this version + const DefaultColumnSpacing + func String(b bufferer) (string, error) + type GaugeColumn struct + func NewGaugeColumn() *GaugeColumn + func NewThemedGaugeColumn(theme *ui.ColorTheme) *GaugeColumn + func (w *GaugeColumn) Reset() + type KeyValuePar struct + Height int + Width int + X int + Y int + func NewKeyValuePar(key, value string, theme *ui.ColorTheme) *KeyValuePar + func (kv *KeyValuePar) Buffer() gtermui.Buffer + func (kv *KeyValuePar) GetHeight() int + func (kv *KeyValuePar) SetWidth(width int) + func (kv *KeyValuePar) SetX(x int) + func (kv *KeyValuePar) SetY(y int) + type MarkupPar struct + func NewParFromMarkupText(theme *ui.ColorTheme, str string) *MarkupPar + func (p *MarkupPar) Buffer() gizaktermui.Buffer + func (p *MarkupPar) Content(str string) + type ParColumn struct + func NewParColumn(s string) *ParColumn + func NewThemedParColumn(theme *ui.ColorTheme, s string) *ParColumn + func (w *ParColumn) Content(s string) + func (w *ParColumn) Reset() + func (w *ParColumn) SetWidth(width int) + type Row struct + Columns []gtermui.GridBufferer + Height int + Table Table + Width int + X int + Y int + func (row *Row) AddColumn(c gtermui.GridBufferer) + func (row *Row) Buffer() gtermui.Buffer + func (row *Row) GetHeight() int + func (row *Row) SetWidth(width int) + func (row *Row) SetX(x int) + func (row *Row) SetY(y int) + type SizableBufferer interface + GetHeight func() int + SetWidth func(int) + SetX func(int) + SetY func(int) + type Table interface + ColumnWidths func() []int + type TableHeader struct + ColumnSpacing int + Columns []*termui.Paragraph + Height int + Theme *ui.ColorTheme + Width int + X int + Y int + func NewHeader(Theme *ui.ColorTheme) *TableHeader + func (th *TableHeader) AddColumn(s string) + func (th *TableHeader) AddFixedWidthColumn(s string, width int) + func (th *TableHeader) Buffer() termui.Buffer + func (th *TableHeader) ColumnCount() int + func (th *TableHeader) ColumnWidths() []int + func (th *TableHeader) GetHeight() int + func (th *TableHeader) SetWidth(w int) + func (th *TableHeader) SetX(x int) + func (th *TableHeader) SetY(y int) + type TextInput struct + TextBgColor termui.Attribute + TextBuilder termui.TextBuilder + TextFgColor termui.Attribute + func NewTextInput(c cursor, s string) *TextInput + func (i *TextInput) Buffer() termui.Buffer + func (i *TextInput) OnFocus(event ui.EventSource) error + func (i *TextInput) Text() (string, bool) + type Widget interface + Buffer func() gizaktermui.Buffer + Mount func() error + Name func() string + Unmount func() error