Documentation ¶
Index ¶
- type Combo
- func (c *Combo) Button(index int) *widget.Clickable
- func (c *Combo) HasSelected() bool
- func (c *Combo) Hint() string
- func (c *Combo) IsExpanded() bool
- func (c *Combo) Item(index int) string
- func (c *Combo) Items() []string
- func (c *Combo) Len() int
- func (c *Combo) SelectButton() *widget.Clickable
- func (c *Combo) SelectIndex(index int) error
- func (c *Combo) SelectItem(item string) error
- func (c *Combo) SelectedText() string
- func (c *Combo) Toggle() bool
- func (c *Combo) Unselect()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Combo ¶
type Combo struct {
// contains filtered or unexported fields
}
Combo holds combobox state
func (*Combo) HasSelected ¶
HasSelected returns true if an item is selected
func (*Combo) IsExpanded ¶
IsExpanded checks wheather box is expanded
func (*Combo) SelectButton ¶
SelectButton returns a points to main (open) combobox button
func (*Combo) SelectIndex ¶
SelectIndex sets currenly selected item by index
func (*Combo) SelectItem ¶
SelectItem sets currenly selected item by value
func (*Combo) SelectedText ¶
SelectedText returns currently selected item
Click to show internal directories.
Click to hide internal directories.