summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}