diff options
| author | Jeff Carr <[email protected]> | 2023-12-15 17:18:48 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-15 17:18:48 -0600 |
| commit | dcce32583387be7fc4f6cd8c8dea62fd7dc42ecf (patch) | |
| tree | ffbedb095816a92c69546041271acbef5870481c /toolkit/andlabs/checkbox.go | |
| parent | 282119d970faed3f8a60d5105a2f26ee14681ff4 (diff) | |
make a common.go for the toolkitsv0.8.7
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/checkbox.go')
| -rw-r--r-- | toolkit/andlabs/checkbox.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/andlabs/checkbox.go b/toolkit/andlabs/checkbox.go index 4c690c1..4c37fd6 100644 --- a/toolkit/andlabs/checkbox.go +++ b/toolkit/andlabs/checkbox.go @@ -6,7 +6,7 @@ import ( ) func (p *node) newCheckbox(n *node) { - newt := new(andlabsT) + newt := new(guiWidget) log(debugToolkit, "newCheckbox()", n.Name, n.WidgetType) newt.uiCheckbox = ui.NewCheckbox(n.Text) @@ -22,6 +22,6 @@ func (p *node) newCheckbox(n *node) { p.place(n) } -func (t *andlabsT) checked() bool { +func (t *guiWidget) checked() bool { return t.uiCheckbox.Checked() } |
