summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-19 04:38:29 -0600
committerJeff Carr <[email protected]>2024-11-19 04:38:29 -0600
commit3e538c8f4ba168f87983975016b8973df81daf46 (patch)
tree2306e7c569cdc2a30fb7e742db60a7e8ad158b6d
parentfd65e8f02e59f115c33fe73475742693027eebbd (diff)
start to think about an intefacev0.22.7
-rw-r--r--structs.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 8515184..9c5789e 100644
--- a/structs.go
+++ b/structs.go
@@ -161,3 +161,8 @@ type Node struct {
AtW int
AtH int
}
+
+type Widget interface {
+ Node() *Node
+ String() string
+}