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