summaryrefslogtreecommitdiff
path: root/action.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-13 13:31:35 -0600
committerJeff Carr <[email protected]>2024-01-13 13:31:35 -0600
commit5a3f4a87dc19195c1ad232b6fc83e2ee31d4d475 (patch)
tree79a68d9a42589cfbc017024443b8e5af4f442f19 /action.go
parente198e7809671e06f6cbc5bd3618b741c04d48e4d (diff)
move to SetPad(), SetMargin() and SetExpand()v1.1.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'action.go')
-rw-r--r--action.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/action.go b/action.go
index b42e8ab..368e1db 100644
--- a/action.go
+++ b/action.go
@@ -16,6 +16,13 @@ type Action struct {
// how to arrange widgets
Direction Orientation
+ // All the strings for things like dropdown menus
+ // They must be sent in display order
+ // These must be unique
+ Strings []string
+
+ Range RangeType
+
// This is used for things like a slider(0,100)
X int
Y int
@@ -47,10 +54,13 @@ const (
Hide
Enable
Disable
+ SetMargin
Margin
Unmargin
+ SetPad
Pad
Unpad
+ SetExpand
Append
Move
Dump