Documentation ¶
Index ¶
- func AddGlobalHandler(path string, handler func(events.Event))
- func AddWidgetHandler(widget tview.Primitive, path string, handler func(events.Event))
- func Clear()
- func ClearGlobalHandlers()
- func ClearWidgetHandlers(widget tview.Primitive)
- func Draw()
- func GetApp() (a *app.App)
- func GetFocus() (p tview.Primitive)
- func GetRootView() tview.Primitive
- func Log(level string, data any)
- func QueueUpdate(f func())
- func QueueUpdateDraw(f func())
- func RemoveGlobalHandler(path string)
- func RemoveWidgetHandler(widget tview.Primitive, path string)
- func SendCustomEvent(path string, data any)
- func SetApp(a *app.App)
- func SetFocus(p tview.Primitive)
- func SetRootView(v tview.Primitive)
- func Stop()
- func Tell(level string, data any)
- func Unfocus()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGlobalHandler ¶
func AddWidgetHandler ¶
func ClearGlobalHandlers ¶
func ClearGlobalHandlers()
func ClearWidgetHandlers ¶
func GetRootView ¶
func QueueUpdate ¶
func QueueUpdate(f func())
func QueueUpdateDraw ¶
func QueueUpdateDraw(f func())
func RemoveGlobalHandler ¶
func RemoveGlobalHandler(path string)
func RemoveWidgetHandler ¶
func SendCustomEvent ¶
func SetRootView ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
hoc
|
|
layouts/panels
Panels Layout is a Flex widget with hidable panels and a main content.
|
Panels Layout is a Flex widget with hidable panels and a main content. |
Package mux implements a request router and dispatcher.
|
Package mux implements a request router and dispatcher. |
Package tview implements rich widgets for terminal based user interfaces.
|
Package tview implements rich widgets for terminal based user interfaces. |
Click to show internal directories.
Click to hide internal directories.