summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-26 13:05:34 -0500
committerJeff Carr <[email protected]>2025-09-26 13:05:34 -0500
commitda5496c32ca9dfa970ea0d42bd7ef6a9c1fc3ea0 (patch)
tree58d04666aaefdef52bf9ff738171bebba070297d /common.go
parentd2ad8b348ac3f918cbb7ac34a541aebc0b495910 (diff)
rm oldstuffv0.0.16
Diffstat (limited to 'common.go')
-rw-r--r--common.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/common.go b/common.go
new file mode 100644
index 0000000..acd0084
--- /dev/null
+++ b/common.go
@@ -0,0 +1,14 @@
+// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
+
+package guipb
+
+func (x *Widget) IsButton() bool {
+ if _, ok := x.GetType().(*Widget_Button); ok {
+ return true
+ }
+ return false
+}
+
+//func Init() bool {
+// return true
+//}