Documentation ¶
Index ¶
- type List
- func (list *List) Append(values ...interface{})
- func (list *List) CanSelectAll() bool
- func (list *List) Insert(index int, values ...interface{})
- func (list *List) Remove(index int)
- func (list *List) Select(append bool, index ...int)
- func (list *List) SelectAll()
- func (list *List) SelectRange(start, end int, append bool)
- func (list *List) Sizes(hint geom.Size) (min, pref, max geom.Size)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
List provides a control that allows the user to select from a list of items, represented by cells.
func (*List) Append ¶
func (list *List) Append(values ...interface{})
Append values to the list of items.
func (*List) CanSelectAll ¶
CanSelectAll returns true if SelectAll() will change anything.
func (*List) Select ¶
Select items at the specified indexes. If 'append' is true, then any existing selection is added to rather than replaced.
func (*List) SelectRange ¶
SelectRange selects items from 'start' to 'end', inclusive. If 'append' is true, then any existing selection is added to rather than replaced.
Click to show internal directories.
Click to hide internal directories.