summaryrefslogtreecommitdiff
path: root/toolkit/widget.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-06 20:50:00 -0500
committerJeff Carr <[email protected]>2023-04-06 20:50:00 -0500
commit27e76ebb005280db2bbbd02b0efa6d7faf4bcec7 (patch)
treeaa86dd208e05a9f088258d5cbba3d9e350f95cfd /toolkit/widget.go
parent933a7e4df0e6a28ad06dfd60ab2928d5cdf916f9 (diff)
correctly deprecate *widget to plugins
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/widget.go')
-rw-r--r--toolkit/widget.go3
1 files changed, 1 insertions, 2 deletions
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