Documentation ¶
Index ¶
- type Action
- type Button
- type Component
- type Form
- func (form *Form) DrawBlock(r Rect, cell termbox.Cell)
- func (form *Form) DrawBorder(r Rect)
- func (form *Form) DrawCell(x, y int, cell termbox.Cell)
- func (form *Form) DrawFlush()
- func (form *Form) DrawText(r Rect, t string, active bool)
- func (form *Form) Erase()
- func (form *Form) Handle(action Action)
- func (form *Form) Init()
- func (form *Form) Render()
- func (form *Form) Show()
- func (form *Form) TabFocus(delta int)
- func (form *Form) UpdateLayout()
- type Input
- type KeyPress
- type Label
- type Record
- type Rect
- type Screen
- type Widget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Button ¶
func (*Button) Unserialize ¶
type Form ¶
type Form struct { BoundsRect Rect ClientRect Rect Screen *Screen Close bool Save bool Record Record Components []*Component FocusedIndex int }
func (*Form) DrawBorder ¶
func (*Form) UpdateLayout ¶
func (form *Form) UpdateLayout()
type Input ¶
func (*Input) Unserialize ¶
Click to show internal directories.
Click to hide internal directories.