Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var App = &Application{}
View Source
var IsReadOnly = false
Functions ¶
func NewHelpView ¶
func NewHomeView ¶
func NewListView ¶
Types ¶
type Application ¶
type Application struct { LastFocused components.Focusable State State views.Application // contains filtered or unexported fields }
func (*Application) Confirm ¶
func (a *Application) Confirm(msg string, onAccept func(), onReject func())
func (*Application) NavigateTo ¶
func (a *Application) NavigateTo(newView func(tcell.Screen) views.Widget)
func (*Application) Notify ¶
func (a *Application) Notify(msg string)
func (*Application) Quit ¶
func (a *Application) Quit()
func (*Application) SetTitle ¶
func (a *Application) SetTitle(title string)
type HomeView ¶
type HomeView struct { components.Container // contains filtered or unexported fields }
func (*HomeView) HandleEvent ¶
type Layout ¶
type Layout struct { Status *components.Status Title *components.Title Screen tcell.Screen views.Panel }
func NewLayout ¶
func NewLayout(screen tcell.Screen) *Layout
Returns a Layout component responsible for the shell of the application and of the routing in between pages
func (*Layout) HandleEvent ¶
type ListView ¶
type ListView struct {
components.Container
}
Click to show internal directories.
Click to hide internal directories.