view

package
v0.0.0-...-2d664ad Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type View

type View struct {
	App       *tview.Application
	Frame     *tview.Frame
	Pages     *tview.Pages
	List      *tview.List
	Details   *tview.TextView
	ModalEdit func(p tview.Primitive, width, height int) tview.Primitive
}

View ...

func NewView

func NewView() *View

NewView ...

func (*View) NewCreateForm

func (v *View) NewCreateForm(header string) *tview.Form

func (*View) NewDeleteQ

func (v *View) NewDeleteQ(header string) *tview.Modal

func (*View) NewEditValueForm

func (v *View) NewEditValueForm(header string, value string) *tview.Form

func (*View) NewErrorMessageQ

func (v *View) NewErrorMessageQ(header string, details string) *tview.Modal

func (*View) NewSearch

func (v *View) NewSearch() *tview.InputField

Jump to

Keyboard shortcuts

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