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