summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go16
1 files changed, 15 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index 87284a2..5477d2e 100644
--- a/structs.go
+++ b/structs.go
@@ -59,11 +59,25 @@ type Node struct {
widget toolkit.Widget
- // deprecate these and use toolkit.Widget
Name string
+
+ // used for Windows
Width int
Height int
+ // used for anything that needs a range
+ X int
+ Y int
+
+ // used for grids and tables
+ NextX int
+ NextY int
+
+ // used for values
+ I int
+ S string
+ B bool
+
// this function is run when there are mouse or keyboard events
Custom func()