diff options
| author | Jeff Carr <[email protected]> | 2024-01-26 11:18:01 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-26 11:18:01 -0600 |
| commit | 8a497bf53877c8920f8c3784889117c323d6a597 (patch) | |
| tree | 26a2a79b27d885dcc5dc4015564cf287363438ba /add.go | |
| parent | c017dc9be04d0a06e13559518c0c017a1e106641 (diff) | |
new gui releasev0.13.13
more quiet output
allow disabling of more errors
sets the text on window open
checkbox state works
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'add.go')
| -rw-r--r-- | add.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -32,16 +32,20 @@ func add(a *widget.Action) *tree.Node { newButton(p, n) case widget.Checkbox: newCheckbox(p, n) + setChecked(n, a.State.Checked) case widget.Spinner: newSpinner(p, n) case widget.Slider: newSlider(p, n) case widget.Dropdown: newDropdown(p, n) + setText(n, a) case widget.Combobox: newCombobox(p, n) + setText(n, a) case widget.Textbox: newTextbox(p, n) + setText(n, a) /* case widget.Image: newImage(p, n) @@ -49,5 +53,6 @@ func add(a *widget.Action) *tree.Node { default: log.Log(ERROR, "add() error TODO: ", n.WidgetType, n.State.ProgName) } + return n } |
