crash.software
Projects
Pull Requests
Issues
Builds
termdash
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
termdash
Files
🤬
Sign In
table
ROOT
/
widgets
/
table
/
content.go
Search
History
277 lines
|
ISO-8859-1
|
8 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ContentOption
set
(*contentOptions)
contentOptions
border
:
linestyle.LineStyle
borderCellOpts
:
[]cell.Option
columnWidthsPercent
:
[]int
hierarchical
:
*hierarchicalOptions
newContentOptions
(opts ...ContentOption)
:
*contentOptions
contentOption
set
(cOpts *contentOptions)
Border
(ls linestyle.LineStyle)
:
ContentOption
BorderCellOpts
(cellOpts ...cell.Option)
:
ContentOption
ColumnWidthsPercent
(widths ...int)
:
ContentOption
ContentCellOpts
(cellOpts ...cell.Option)
:
ContentOption
ContentRowHeight
(height int)
:
ContentOption
HorizontalPadding
(cells int)
:
ContentOption
VerticalPadding
(cells int)
:
ContentOption
AlignHorizontal
(h align.Horizontal)
:
ContentOption
AlignVertical
(v align.Vertical)
:
ContentOption
WrapAtWords
()
:
ContentOption
Columns
Content
cols
:
Columns
header
:
*Row
rows
:
[]*Row
layout
:
*contentLayout
opts
:
*contentOptions
mu
:
sync.Mutex
NewContent
(cols Columns, rows []*Row, opts ...ContentOption)
:
(*Content, error)
*Content
validate
()
:
error
hasBorder
()
:
bool
AddRows
(rows []*Row)
:
error
addRow
(row *Row)
:
error
All occurrences
Please wait...
Page is in error, reload to recover