Documentation ¶
Index ¶
- type App
- func (a *App) CurrentPage() string
- func (a *App) Draw() *tview.Application
- func (a *App) Play(url string)
- func (a *App) PrevFocused() tview.Primitive
- func (a *App) SetFocus(p tview.Primitive) *tview.Application
- func (a *App) SetPrevFocused(p string)
- func (a *App) ShowBarComponent(c tview.Primitive)
- func (a *App) Stop()
- type Drawer
- type FocusStopper
- type Focuser
- type PageViewer
- type StatusbarShower
- type Stopper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Application *tview.Application Root *tview.Flex Library *tview.Flex Pages *tview.Pages StatusBar *tview.Table HelpScreen *tview.Modal Player *player.Player // contains filtered or unexported fields }
func (*App) CurrentPage ¶
func (*App) Draw ¶
func (a *App) Draw() *tview.Application
func (*App) PrevFocused ¶
func (*App) SetPrevFocused ¶
func (*App) ShowBarComponent ¶
type Drawer ¶
type Drawer interface {
Draw() *tview.Application
}
type FocusStopper ¶
type FocusStopper interface { // Focuser represents the ability to focus on a specific target. Focuser // Stopper represents the ability to stop a running process. Stopper }
FocusStopper represents an object that can both focus and stop.
type PageViewer ¶
type PageViewer interface {
CurrentPage() string
}
type StatusbarShower ¶
Click to show internal directories.
Click to hide internal directories.