formtextview

package
v0.0.0-...-de8b626 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormTextView

type FormTextView struct {
	*tview.TextView
	// contains filtered or unexported fields
}

func NewFormTextView

func NewFormTextView(value string) *FormTextView

func (*FormTextView) GetFieldHeight

func (t *FormTextView) GetFieldHeight() int

func (*FormTextView) GetFieldWidth

func (t *FormTextView) GetFieldWidth() int

func (*FormTextView) GetLabel

func (t *FormTextView) GetLabel() string

FormItem

func (*FormTextView) SetFinishedFunc

func (t *FormTextView) SetFinishedFunc(handler func(key tcell.Key)) tview.FormItem

func (*FormTextView) SetFormAttributes

func (t *FormTextView) SetFormAttributes(labelWidth int, labelColor, bgColor, fieldTextColor, fieldBgColor tcell.Color) tview.FormItem

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL