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
22ae4490
ROOT
/
container
/
grid
/
grid.go
Search
History
429 lines
|
UTF-8
|
13 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Builder
elems
:
[]Element
New
()
:
*Builder
validate
(elems []Element, fixedSizeParent bool)
:
error
build
(elems []Element, parentHeightPerc, parentWidthPerc int)
:
[]container.Option
innerPerc
(outerPerc, parentPerc int)
:
int
Element
isElement
()
splitType
String
()
:
string
splitTypeNames
splitTypeRelative
:
splitType
splitTypeFixed
row
splitType
:
splitType
heightPerc
:
int
heightFixed
:
int
subElem
:
[]Element
cOpts
:
[]container.Option
isElement
()
col
splitType
:
splitType
widthPerc
:
int
widthFixed
:
int
subElem
:
[]Element
cOpts
:
[]container.Option
isElement
()
widget
widget
:
widgetapi.Widget
cOpts
:
[]container.Option
isElement
()
RowHeightPerc
(heightPerc int, subElements ...Element)
:
Element
RowHeightFixed
(heightCells int, subElements ...Element)
:
Element
RowHeightPercWithOpts
(heightPerc int, cOpts []container.Option, subElements ...Element)
:
Element
RowHeightFixedWithOpts
(heightCells int, cOpts []container.Option, subElements ...Element)
:
Element
ColWidthPerc
(widthPerc int, subElements ...Element)
:
Element
ColWidthFixed
(widthCells int, subElements ...Element)
:
Element
ColWidthPercWithOpts
(widthPerc int, cOpts []container.Option, subElements ...Element)
:
Element
ColWidthFixedWithOpts
(widthCells int, cOpts []container.Option, subElements ...Element)
:
Element
Widget
(w widgetapi.Widget, cOpts ...container.Option)
:
Element
*Builder
Add
(subElements ...Element)
Build
()
:
([]container.Option, error)
*row
String
()
:
string
*col
String
()
:
string
*widget
String
()
:
string
All occurrences
Please wait...
Page is in error, reload to recover