view

package
v0.0.0-...-f9ef3bd Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 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) AboutModal

func (v *View) AboutModal() *tview.TextView

func (*View) HotkeysModal

func (v *View) HotkeysModal(profiles bool) *tview.TextView

func (*View) NewConfirm

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

func (*View) NewCreateForm

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

func (*View) NewCreateLocalFileListForm

func (v *View) NewCreateLocalFileListForm() (tview.Primitive, *tview.List)

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) 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(version string)

Jump to

Keyboard shortcuts

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