summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go29
1 files changed, 0 insertions, 29 deletions
diff --git a/structs.go b/structs.go
index bf16758..22ec988 100644
--- a/structs.go
+++ b/structs.go
@@ -82,35 +82,6 @@ type GuiConfig struct {
prefix string
}
-type Widget int
-
-// https://ieftimov.com/post/golang-datastructures-trees/
-const (
- Unknown Widget = iota
- Window
- Tab
- Frame
- Dropbox
- Spinner
- Label
-)
-
-func (s Widget) String() string {
- switch s {
- case Window:
- return "Window"
- case Tab:
- return "Tab"
- case Frame:
- return "Frame"
- case Label:
- return "Label"
- case Dropbox:
- return "Dropbox"
- }
- return "unknown"
-}
-
// The Node is simply the name and the size of whatever GUI element exists
type Node struct {
id int