Documentation
¶
Index ¶
- Constants
- type Flex
- type Form
- type Table
- func (t *Table) AddCellContent(r, c int, value string)
- func (t *Table) AddCellHeader(r, c int, value string)
- func (t *Table) AddCellPrimary(r, c int, value string)
- func (t *Table) AddCellSecondary(r, c int, value string)
- func (t *Table) AddCellText(r, c int, value string)
- func (t *Table) AddCellTitle(r, c int, value string)
- func (t *Table) AsContent() *Table
- func (t *Table) WithCount(count int) *Table
- func (t *Table) WithExpansion() *Table
- func (t *Table) WithFixedHeader() *Table
- func (t *Table) WithTitle(title string) *Table
- type Text
Constants ¶
View Source
const ( ColorTitle = tcell.ColorOrange ColorText = tcell.ColorWhiteSmoke ColorPrimary = tcell.ColorDeepSkyBlue ColorSecondary = tcell.ColorDarkGray ColorContent = tcell.ColorLightSkyBlue ColorBlack = tcell.ColorBlack ColorDark = tcell.ColorDarkSlateGray )
Predefined colors.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flex ¶
Flex ...
func (*Flex) WithColumnDirection ¶
WithColumnDirection add direction inside flex object.
func (*Flex) WithRowDirection ¶
WithRowDirection add direction inside flex object.
type Table ¶
Table ...
func (*Table) AddCellContent ¶
AddCellContent add item [row, col] as table value with Content color style.
func (*Table) AddCellHeader ¶
AddCellHeader add item [row, col] as table Header.
func (*Table) AddCellPrimary ¶
AddCellPrimary add item [row, col] as table value with Primary color style.
func (*Table) AddCellSecondary ¶
AddCellSecondary add item [row, col] as table value with Secondary color style.
func (*Table) AddCellText ¶
AddCellText add item [row, col] as table value with Default color style.
func (*Table) AddCellTitle ¶
AddCellTitle add item [row, col] as table value with Title color style.
func (*Table) WithFixedHeader ¶
WithFixedHeader make first row fixed.
Click to show internal directories.
Click to hide internal directories.