Documentation ¶
Index ¶
- type Option
- type Table
- func (self *Table) Draw(buf *termui.Buffer)
- func (self *Table) GetNode() *node.Node
- func (self *Table) GetRect() image.Rectangle
- func (self *Table) GetSelectedRow() int
- func (self *Table) ScrollDown()
- func (self *Table) ScrollUp()
- func (self *Table) SetHeaders(headers []string)
- func (self *Table) SetNode(node *node.Node)
- func (self *Table) SetRect(x1, y1, x2, y2 int)
- func (self *Table) SetWidthFn(fn widthFn)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*option)
func CursoredRowStyle ¶
func CursoredRowStyle(style termui.Style) Option
func DefaultRowStyle ¶
func DefaultRowStyle(style termui.Style) Option
func FoldedSymbol ¶
func HeaderStyle ¶
func HeaderStyle(style termui.Style) Option
func UnfoldedSymbol ¶
type Table ¶
func (*Table) GetSelectedRow ¶
func (*Table) ScrollDown ¶
func (self *Table) ScrollDown()
func (*Table) SetHeaders ¶
func (*Table) SetWidthFn ¶
func (self *Table) SetWidthFn(fn widthFn)
Click to show internal directories.
Click to hide internal directories.