Documentation ¶
Index ¶
- Constants
- type Item
- type List
- func (list *List) Add(text string)
- func (list *List) CheckedItems() []*Item
- func (list *List) Delete()
- func (list *List) Demote()
- func (list *List) Len() int
- func (list *List) Less(i, j int) bool
- func (list *List) LongestLine() int
- func (list *List) Next()
- func (list *List) Prev()
- func (list *List) Promote()
- func (list *List) Selected() *Item
- func (list *List) SetSelectedByItem(selectableItem *Item)
- func (list *List) Swap(i, j int)
- func (list *List) Toggle()
- func (list *List) UncheckedItems() []*Item
- func (list *List) Unselect()
- func (list *List) Update(text string)
- type Widget
Constants ¶
View Source
const HelpText = `` /* 472-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List struct { Items []*Item // contains filtered or unexported fields }
func (*List) CheckedItems ¶ added in v0.0.4
func (*List) LongestLine ¶ added in v0.0.4
func (*List) SetSelectedByItem ¶ added in v0.0.4
func (*List) Toggle ¶
func (list *List) Toggle()
Toggle switches the checked state of the currently-selected item
func (*List) UncheckedItems ¶ added in v0.0.4
type Widget ¶
type Widget struct { wtf.TextWidget // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.