From 27e76ebb005280db2bbbd02b0efa6d7faf4bcec7 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Apr 2023 20:50:00 -0500 Subject: correctly deprecate *widget to plugins Signed-off-by: Jeff Carr --- toolkit/widget.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'toolkit/widget.go') diff --git a/toolkit/widget.go b/toolkit/widget.go index 09fd962..f0fba0f 100644 --- a/toolkit/widget.go +++ b/toolkit/widget.go @@ -53,8 +53,7 @@ type Action struct { // this should be the widget // if the action is New, Hide, Enable, etc - Widget *Widget - Callback func(int) bool + // Widget *Widget // This is how the values are passed back and forth // values from things like checkboxes & dropdown's -- cgit v1.2.3