components

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Form

type Form struct {
	*tview.Form
}

func NewForm

func NewForm() *Form

func (*Form) Draw

func (wg *Form) Draw(screen tcell.Screen)

type Tabs

type Tabs struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func NewTabs

func NewTabs(choices ...string) *Tabs

func (*Tabs) GetSelected

func (t *Tabs) GetSelected() (int, string)

func (*Tabs) InputHandler

func (t *Tabs) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))

func (*Tabs) Next

func (t *Tabs) Next()

func (*Tabs) Prev

func (t *Tabs) Prev()

func (*Tabs) Select

func (t *Tabs) Select(tab int)

func (*Tabs) SetChangedFunc

func (t *Tabs) SetChangedFunc(f func(int, string)) *Tabs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳