summaryrefslogtreecommitdiff
path: root/widget.go
diff options
context:
space:
mode:
Diffstat (limited to 'widget.go')
-rw-r--r--widget.go36
1 files changed, 18 insertions, 18 deletions
diff --git a/widget.go b/widget.go
index e80d113..6b9849b 100644
--- a/widget.go
+++ b/widget.go
@@ -17,30 +17,30 @@ type WidgetType int // Button, Menu, Checkbox, etc.
const (
Unknown WidgetType = iota + 1
- Root // the master 'root' node of the binary tree
- Flag // used to send configuration values to plugins
- Window // in certain gui's (ncurses), these are tabs
- Tab // internally, this is a window
- Frame // deprecate?
- Grid // like drawers in a chest
- Group // like the 'Appetizers' section on a menu
- Box // a vertical or horizontal stack of widgets
+ Root // the master 'root' node of the binary tree
+ Flag // used to send configuration values to plugins
+ Window // in certain gui's (ncurses), these are tabs
+ Tab // internally, this is a window
+ Frame // deprecate?
+ Grid // like drawers in a chest
+ Group // like the 'Appetizers' section on a menu
+ Box // a vertical or horizontal stack of widgets
Button
Checkbox // select 'on' or 'off'
Dropdown
Combobox // dropdown with edit=true
Label
- Textbox // is this a Label with edit=true
- Slider // like a progress bar
- Spinner // like setting the oven temperature
+ Textbox // is this a Label with edit=true
+ Slider // like a progress bar
+ Spinner // like setting the oven temperature
Separator // TODO
- Image // TODO
- Area // TODO
- Form // TODO
- Font // TODO
- Color // TODO
- Dialog // TODO
- Stdout // can be used to capture and display log output
+ Image // TODO
+ Area // TODO
+ Form // TODO
+ Font // TODO
+ Color // TODO
+ Dialog // TODO
+ Stdout // can be used to capture and display log output
)
func (s WidgetType) String() string {