Documentation ¶
Index ¶
- type Config
- func (c *Config) Config() GroupsMap
- func (c *Config) Init() *Config
- func (c *Config) RenderConfigItem(item *Item, position int) []l.Widget
- func (c *Config) RenderFloat(item *Item) []l.Widget
- func (c *Config) RenderInteger(item *Item) []l.Widget
- func (c *Config) RenderMulti(item *Item, position int) []l.Widget
- func (c *Config) RenderPassword(item *Item) []l.Widget
- func (c *Config) RenderRadio(item *Item) []l.Widget
- func (c *Config) RenderString(item *Item) []l.Widget
- func (c *Config) RenderTime(item *Item) []l.Widget
- func (c *Config) RenderToggle(item *Item) []l.Widget
- type GroupsMap
- type Item
- type ItemMap
- type List
- type ListItem
- type ListItems
- type Lists
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { *gui.Window Bools map[string]*gui.Bool // contains filtered or unexported fields }
func (*Config) RenderConfigItem ¶
RenderConfigItem renders a config item. It takes a position variable which tells it which index it begins on the bigger config widget list, with this and its current data set the multi can insert and delete elements above its add button without rerendering the config item or worse, the whole config widget
Click to show internal directories.
Click to hide internal directories.