Documentation
¶
Index ¶
- type MenuBar
- func (menuBar *MenuBar) AddItem(item *MenuItem) *MenuBar
- func (menuBar *MenuBar) AfterDraw() func(tcell.Screen)
- func (menuBar *MenuBar) Draw(screen tcell.Screen)
- func (menuBar *MenuBar) Focus(delegate func(p view.Primitive))
- func (menuBar *MenuBar) InputHandler() func(event *tcell.EventKey, setFocus func(p view.Primitive))
- func (p *MenuBar) MouseHandler() ...
- type MenuItem
- type SubMenu
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MenuBar ¶
func NewMenuBar ¶
func NewMenuBar() *MenuBar
func (*MenuBar) InputHandler ¶
func (*MenuBar) MouseHandler ¶
type MenuItem ¶
type MenuItem struct { *view.Box Title string SubItems []*MenuItem // contains filtered or unexported fields }
func NewMenuItem ¶
func (*MenuItem) SetOnClick ¶
Click to show internal directories.
Click to hide internal directories.