view

package
v0.0.0-...-d2c8d63 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 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) NewConfirm

func (v *View) NewConfirm() *tview.Modal

func (*View) NewCreateForm

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

func (*View) NewCreateProfileForm

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

func (*View) NewErrorMessageQ

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

func (*View) NewProgressMessage

func (v *View) NewProgressMessage() *tview.Modal

func (*View) NewSuccessMessageQ

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

func (*View) SetFrameText

func (v *View) SetFrameText(helpText string)

func (*View) SetHeaderVersionText

func (v *View) SetHeaderVersionText(versionText string)

Jump to

Keyboard shortcuts

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