tuiapp

package
v0.0.0-...-ee62de9 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TuiApp

type TuiApp struct {
	App    *tview.Application
	Pages  *tview.Pages
	Widget []tview.Primitive
}
var (
	// TuiApp *tuiApp
	MysqlTui *TuiApp
	RedisTui *TuiApp
)

func (*TuiApp) AddPage

func (ta *TuiApp) AddPage(name string, item tview.Primitive)

func (*TuiApp) AddWidget

func (ta *TuiApp) AddWidget(w tview.Primitive)

func (*TuiApp) GetCurrentFocus

func (ta *TuiApp) GetCurrentFocus() tview.Primitive

func (*TuiApp) GetPage

func (ta *TuiApp) GetPage() *tview.Pages

func (*TuiApp) NextWigets

func (ta *TuiApp) NextWigets(curent tview.Primitive) tview.Primitive

func (*TuiApp) PreviousWidgets

func (ta *TuiApp) PreviousWidgets(curent tview.Primitive) tview.Primitive

func (*TuiApp) SetNextFocus

func (ta *TuiApp) SetNextFocus()

func (*TuiApp) ShowPage

func (ta *TuiApp) ShowPage(name string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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