From dcce32583387be7fc4f6cd8c8dea62fd7dc42ecf Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 15 Dec 2023 17:18:48 -0600 Subject: make a common.go for the toolkits Signed-off-by: Jeff Carr --- toolkit/andlabs/combobox.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolkit/andlabs/combobox.go') diff --git a/toolkit/andlabs/combobox.go b/toolkit/andlabs/combobox.go index 564ff23..283a29d 100644 --- a/toolkit/andlabs/combobox.go +++ b/toolkit/andlabs/combobox.go @@ -6,7 +6,7 @@ import ( ) func (p *node) newCombobox(n *node) { - newt := new(andlabsT) + newt := new(guiWidget) log(debugToolkit, "newCombobox() START", n.Name) cb := ui.NewEditableCombobox() @@ -26,7 +26,7 @@ func (p *node) newCombobox(n *node) { p.place(n) } -func (t *andlabsT) AddComboboxName(title string) { +func (t *guiWidget) AddComboboxName(title string) { t.uiEditableCombobox.Append(title) if (t.val == nil) { log(debugToolkit, "make map didn't work") -- cgit v1.2.3