Documentation ¶
Index ¶
- type ConfirmView
- func (cv *ConfirmView) HandleInput(event *tcell.EventKey) *tcell.EventKey
- func (cv *ConfirmView) Initialize(backButtonText string, sysConfig *configuration.SystemConfig, ...) (err error)
- func (cv *ConfirmView) Name() string
- func (cv *ConfirmView) OnShow()
- func (cv *ConfirmView) Primitive() tview.Primitive
- func (cv *ConfirmView) Reset() (err error)
- func (cv *ConfirmView) Title() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfirmView ¶
type ConfirmView struct {
// contains filtered or unexported fields
}
ConfirmView contains the confirmation UI
func (*ConfirmView) HandleInput ¶
func (cv *ConfirmView) HandleInput(event *tcell.EventKey) *tcell.EventKey
HandleInput handles custom input.
func (*ConfirmView) Initialize ¶
func (cv *ConfirmView) Initialize(backButtonText string, sysConfig *configuration.SystemConfig, cfg *configuration.Config, app *tview.Application, nextPage, previousPage, quit, refreshTitle func()) (err error)
Initialize initializes the view.
func (*ConfirmView) Name ¶
func (cv *ConfirmView) Name() string
Name returns the friendly name of the view.
func (*ConfirmView) OnShow ¶
func (cv *ConfirmView) OnShow()
OnShow gets called when the view is shown to the user
func (*ConfirmView) Primitive ¶
func (cv *ConfirmView) Primitive() tview.Primitive
Primitive returns the primary primitive to be rendered for the view.
func (*ConfirmView) Reset ¶
func (cv *ConfirmView) Reset() (err error)
Reset resets the page, undoing any user input.
func (*ConfirmView) Title ¶
func (cv *ConfirmView) Title() string
Title returns the title of the view.
Click to show internal directories.
Click to hide internal directories.