type github.com/pancsta/cview.FormItem (interface)
Method Implmentations
Blur()
(*CheckBox).Box.Blur
(*DropDown).Box.Blur
(*InputField).Box.Blur
(*Slider).ProgressBar.Box.Blur
Focus(delegate func(p Primitive))
(*CheckBox).Box.Focus
(*DropDown).Focus
(*InputField).Box.Focus
(*Slider).ProgressBar.Box.Focus
GetFieldHeight() int
(*CheckBox).GetFieldHeight
(*DropDown).GetFieldHeight
(*InputField).GetFieldHeight
(*Slider).GetFieldHeight
GetFieldWidth() int
(*CheckBox).GetFieldWidth
(*DropDown).GetFieldWidth
(*InputField).GetFieldWidth
(*Slider).GetFieldWidth
GetFocusable() Focusable
(*CheckBox).Box.GetFocusable
(*DropDown).Box.GetFocusable
(*InputField).Box.GetFocusable
(*Slider).ProgressBar.Box.GetFocusable
GetLabel() string
(*CheckBox).GetLabel
(*DropDown).GetLabel
(*InputField).GetLabel
(*Slider).GetLabel
GetRect() (int, int, int, int)
(*CheckBox).Box.GetRect
(*DropDown).Box.GetRect
(*InputField).Box.GetRect
(*Slider).ProgressBar.Box.GetRect
GetVisible() bool
(*CheckBox).Box.GetVisible
(*DropDown).Box.GetVisible
(*InputField).Box.GetVisible
(*Slider).ProgressBar.Box.GetVisible
InputHandler() func(event *tcell.EventKey, setFocus func(p Primitive))
(*CheckBox).InputHandler
(*DropDown).InputHandler
(*InputField).InputHandler
(*Slider).InputHandler
MouseHandler() func(action MouseAction, event *tcell.EventMouse, setFocus func(p Primitive)) (consumed bool, capture Primitive)
(*CheckBox).MouseHandler
(*DropDown).MouseHandler
(*InputField).MouseHandler
(*Slider).MouseHandler
SetBackgroundColor(tcell.Color)
(*CheckBox).Box.SetBackgroundColor
(*DropDown).Box.SetBackgroundColor
(*InputField).Box.SetBackgroundColor
(*Slider).ProgressBar.Box.SetBackgroundColor
SetFieldBackgroundColor(tcell.Color)
(*CheckBox).SetFieldBackgroundColor
(*DropDown).SetFieldBackgroundColor
(*InputField).SetFieldBackgroundColor
(*Slider).SetFieldBackgroundColor
SetFieldBackgroundColorFocused(tcell.Color)
(*CheckBox).SetFieldBackgroundColorFocused
(*DropDown).SetFieldBackgroundColorFocused
(*InputField).SetFieldBackgroundColorFocused
(*Slider).SetFieldBackgroundColorFocused
SetFieldTextColor(tcell.Color)
(*CheckBox).SetFieldTextColor
(*DropDown).SetFieldTextColor
(*InputField).SetFieldTextColor
(*Slider).SetFieldTextColor
SetFieldTextColorFocused(tcell.Color)
(*CheckBox).SetFieldTextColorFocused
(*DropDown).SetFieldTextColorFocused
(*InputField).SetFieldTextColorFocused
(*Slider).SetFieldTextColorFocused
SetFinishedFunc(func(key tcell.Key))
(*CheckBox).SetFinishedFunc
(*DropDown).SetFinishedFunc
(*InputField).SetFinishedFunc
(*Slider).SetFinishedFunc
SetLabelColor(tcell.Color)
(*CheckBox).SetLabelColor
(*DropDown).SetLabelColor
(*InputField).SetLabelColor
(*Slider).SetLabelColor
SetLabelColorFocused(tcell.Color)
(*CheckBox).SetLabelColorFocused
(*DropDown).SetLabelColorFocused
(*InputField).SetLabelColorFocused
(*Slider).SetLabelColorFocused
SetLabelWidth(int)
(*CheckBox).SetLabelWidth
(*DropDown).SetLabelWidth
(*InputField).SetLabelWidth
(*Slider).SetLabelWidth
SetRect(x, y, width, height int)
(*CheckBox).Box.SetRect
(*DropDown).Box.SetRect
(*InputField).Box.SetRect
(*Slider).ProgressBar.Box.SetRect
SetVisible(v bool)
(*CheckBox).Box.SetVisible
(*DropDown).Box.SetVisible
(*InputField).Box.SetVisible
(*Slider).ProgressBar.Box.SetVisible
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |