Versions in this module Expand all Collapse all v0 v0.2.0 May 25, 2024 Changes in this version + type FormScrollable struct + func NewFormScrollable() *FormScrollable + func (f *FormScrollable) AddButton(label string, selected func()) *FormScrollable + func (f *FormScrollable) AddCheckbox(label string, checked bool, changed func(checked bool)) *FormScrollable + func (f *FormScrollable) AddDropDown(label string, options []string, initialOption int, ...) *FormScrollable + func (f *FormScrollable) AddFormItem(item FormItem) *FormScrollable + func (f *FormScrollable) AddImage(label string, image image.Image, width, height, colors int) *FormScrollable + func (f *FormScrollable) AddInputField(label, value string, fieldWidth int, ...) *FormScrollable + func (f *FormScrollable) AddPasswordField(label, value string, fieldWidth int, mask rune, changed func(text string)) *FormScrollable + func (f *FormScrollable) AddTextArea(label, text string, fieldWidth, fieldHeight, maxLength int, ...) *FormScrollable + func (f *FormScrollable) AddTextView(label, text string, fieldWidth, fieldHeight int, ...) *FormScrollable + func (f *FormScrollable) Clear(includeButtons bool) *FormScrollable + func (f *FormScrollable) ClearButtons() *FormScrollable + func (f *FormScrollable) Draw(screen tcell.Screen) + func (f *FormScrollable) Focus(delegate func(p Primitive)) + func (f *FormScrollable) GetButton(index int) *Button + func (f *FormScrollable) GetButtonCount() int + func (f *FormScrollable) GetButtonIndex(label string) int + func (f *FormScrollable) GetFocusedItemIndex() (formItem, button int) + func (f *FormScrollable) GetFormItem(index int) FormItem + func (f *FormScrollable) GetFormItemByLabel(label string) FormItem + func (f *FormScrollable) GetFormItemCount() int + func (f *FormScrollable) GetFormItemIndex(label string) int + func (f *FormScrollable) HasFocus() bool + func (f *FormScrollable) InputHandler() func(event *tcell.EventKey, setFocus func(p Primitive)) + func (f *FormScrollable) MouseHandler() ... + func (f *FormScrollable) PasteHandler() func(pastedText string, setFocus func(p Primitive)) + func (f *FormScrollable) RemoveButton(index int) *FormScrollable + func (f *FormScrollable) RemoveFormItem(index int) *FormScrollable + func (f *FormScrollable) SetButtonActivatedStyle(style tcell.Style) *FormScrollable + func (f *FormScrollable) SetButtonBackgroundColor(color tcell.Color) *FormScrollable + func (f *FormScrollable) SetButtonDisabledStyle(style tcell.Style) *FormScrollable + func (f *FormScrollable) SetButtonStyle(style tcell.Style) *FormScrollable + func (f *FormScrollable) SetButtonTextColor(color tcell.Color) *FormScrollable + func (f *FormScrollable) SetButtonsAlign(align int) *FormScrollable + func (f *FormScrollable) SetCancelFunc(callback func()) *FormScrollable + func (f *FormScrollable) SetFieldBackgroundColor(color tcell.Color) *FormScrollable + func (f *FormScrollable) SetFieldTextColor(color tcell.Color) *FormScrollable + func (f *FormScrollable) SetFocus(index int) *FormScrollable + func (f *FormScrollable) SetHorizontal(horizontal bool) *FormScrollable + func (f *FormScrollable) SetItemPadding(padding int) *FormScrollable + func (f *FormScrollable) SetLabelColor(color tcell.Color) *FormScrollable + type NoneFocusableButton struct + func NewNoneFocusableButton(l string) *NoneFocusableButton + func (b *NoneFocusableButton) Blur() + func (b *NoneFocusableButton) Focus(delegate func(p tview.Primitive)) + func (b *NoneFocusableButton) HasFocus() bool + func (b *NoneFocusableButton) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive)) + func (b *NoneFocusableButton) MouseHandler() ... + func (b *NoneFocusableButton) PasteHandler() func(pastedText string, setFocus func(p tview.Primitive)) + func (b *NoneFocusableButton) SetClick(c func()) *NoneFocusableButton + func (b *NoneFocusableButton) SetFocusable(f tview.Primitive) *NoneFocusableButton