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
/
widgets
/
textinput
/
options.go
Search
History
296 lines
|
ISO-8859-1
|
9 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Option
set
(*options)
option
set
(opts *options)
options
fillColor
:
cell.Color
textColor
:
cell.Color
placeHolderColor
:
cell.Color
highlightedColor
:
cell.Color
cursorColor
:
cell.Color
border
:
linestyle.LineStyle
borderColor
:
cell.Color
widthPerc
:
*int
maxWidthCells
:
*int
label
:
string
labelCellOpts
:
[]cell.Option
labelAlign
:
align.Horizontal
placeHolder
:
string
hideTextWith
:
rune
defaultText
:
string
filter
:
FilterFn
onSubmit
:
SubmitFn
clearOnSubmit
:
bool
exclusiveKeyboardOnFocus
:
bool
newOptions
()
:
*options
DefaultFillColorNumber
FillColor
(c cell.Color)
:
Option
TextColor
(c cell.Color)
:
Option
DefaultHighlightedColorNumber
HighlightedColor
(c cell.Color)
:
Option
DefaultCursorColorNumber
CursorColor
(c cell.Color)
:
Option
Border
(ls linestyle.LineStyle)
:
Option
BorderColor
(c cell.Color)
:
Option
WidthPerc
(perc int)
:
Option
MaxWidthCells
(cells int)
:
Option
Label
(label string, cOpts ...cell.Option)
:
Option
DefaultLabelAlign
LabelAlign
(la align.Horizontal)
:
Option
PlaceHolder
(text string)
:
Option
DefaultPlaceHolderColorNumber
PlaceHolderColor
(c cell.Color)
:
Option
HideTextWith
(r rune)
:
Option
FilterFn
Filter
(fn FilterFn)
:
Option
SubmitFn
OnSubmit
(fn SubmitFn)
:
Option
ClearOnSubmit
()
:
Option
ExclusiveKeyboardOnFocus
()
:
Option
DefaultText
(text string)
:
Option
*options
validate
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover