diff options
| author | Jeff Carr <[email protected]> | 2024-01-11 19:32:40 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-11 19:32:40 -0600 |
| commit | ed951e0234d428298bd6b76b07e371ce2ab3cb60 (patch) | |
| tree | 200c77deef52245e59dc96f591e16843a8125927 /plugin.go | |
| parent | 5f6afb8cf8293f819711ccdf791296edfd7ce7d6 (diff) | |
var value anyv0.12.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'plugin.go')
| -rw-r--r-- | plugin.go | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -214,21 +214,18 @@ func initToolkit(name string, filename string) *aplug { return newPlug } +// 2024/01/11 finally moving to type any. simplify to just 'value' // 2023/05/09 pretty clean -// 2023/04/06 Queue() is also being used and channels are being used. memcopy() only +// 2023/04/06 Queue() is also being used and channels are being used. func newAction(n *Node, atype widget.ActionType) *widget.Action { var a widget.Action a.ActionType = atype if (n == nil) { return &a } - a.Name = n.Name - a.Text = n.Text a.WidgetId = n.id - - a.B = n.B - a.I = n.I - a.S = n.S + a.ProgName = n.progname + a.Value = n.value a.X = n.X a.Y = n.Y |
