From 49202eeafdad8e5780fefdad3d2f87fd4354725e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 3 Mar 2023 14:41:38 -0600 Subject: release as v0.6.5 good standard release really clean interaction to plugin really clean debug flags implementation common doAppend() idea, but it probably won't work re-implement combobox. this code base almost doesn't suck slider & spinner set values now tab set margin works convert dropdown to Send() lots of other changes to try to implement single line Entry() I guess use golang file names even though internalally the go developers use underscore chars in the actual go sources. Maybe there is a reason for that? go channel debug window does something make a debug window for channels. add sample icons Signed-off-by: Jeff Carr --- toolkit/widget.go | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'toolkit/widget.go') diff --git a/toolkit/widget.go b/toolkit/widget.go index fcb6d31..9241d5a 100644 --- a/toolkit/widget.go +++ b/toolkit/widget.go @@ -56,10 +56,13 @@ const ( Button Checkbox Dropdown + Combobox Label Textbox Slider Spinner + Grid + Flag ) func (s WidgetType) String() string { @@ -78,6 +81,8 @@ func (s WidgetType) String() string { return "Checkbox" case Dropdown: return "Dropdown" + case Combobox: + return "Combobox" case Label: return "Label" case Textbox: @@ -86,6 +91,10 @@ func (s WidgetType) String() string { return "Slider" case Spinner: return "Spinner" + case Grid: + return "Grid" + case Flag: + return "Flag" case Unknown: return "Unknown" } -- cgit v1.2.3