Documentation ¶
Index ¶
- type GridTitle
- type TopLevel
- func (t *TopLevel) Draw(screen tcell.Screen)
- func (t *TopLevel) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))
- func (t *TopLevel) InteractiveQuit()
- func (t *TopLevel) SetCommands(commands ...string) *TopLevel
- func (t *TopLevel) SetDelegateInputHandler(h func(event *tcell.EventKey, setFocus func(p tview.Primitive)) bool) *TopLevel
- func (t *TopLevel) SetError(f func() error) *TopLevel
- func (t *TopLevel) SetSubTitles(titles ...GridTitle) *TopLevel
- func (t *TopLevel) SetTitles(titles ...GridTitle) *TopLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TopLevel ¶
type TopLevel struct { *tview.Grid Titles []GridTitle SubTitles []GridTitle Commands []string Error func() error // contains filtered or unexported fields }
func NewTopLevel ¶
func (*TopLevel) InputHandler ¶
func (*TopLevel) InteractiveQuit ¶
func (t *TopLevel) InteractiveQuit()
func (*TopLevel) SetCommands ¶
func (*TopLevel) SetDelegateInputHandler ¶
func (*TopLevel) SetSubTitles ¶
Click to show internal directories.
Click to hide internal directories.