Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HeaderTitle ¶
type MainWindow ¶
type MainWindow struct {
Fg, Bg termbox.Attribute
EventFunc EventFunc // global event function
// contains filtered or unexported fields
}
MainWindow controls all windows inside it.
var Screen *MainWindow
type UpdateFunc ¶
type UpdateFunc func() []Row
type WidgetTable ¶
func (*WidgetTable) EventFunc ¶
func (wg *WidgetTable) EventFunc(ev termbox.Event)
func (*WidgetTable) Update ¶
func (wg *WidgetTable) Update(win *Window) []Row
type Window ¶
type Window struct {
X, Y int
SizeX, SizeY int
// AutoResize does not allow a fix SizeX and SizeY
AutoResize bool
UpdateFunc UpdateFunc
EventFunc EventFunc
SubWindows []*Window
// contains filtered or unexported fields
}
func (*Window) NewSubWindow ¶
Click to show internal directories.
Click to hide internal directories.