summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-09 02:04:56 -0500
committerJeff Carr <[email protected]>2025-09-09 02:04:56 -0500
commite799a19b2cca024cb8effa0da7c97de580d7118c (patch)
tree304d73cedb885fb40e54242fed4804c13878765d /structs.go
parent3a0f307270baf3eaecd8e21468e4580400d42587 (diff)
working on the GUI init processv0.22.54
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go24
1 files changed, 8 insertions, 16 deletions
diff --git a/structs.go b/structs.go
index c393037..e8fc0a4 100644
--- a/structs.go
+++ b/structs.go
@@ -26,23 +26,15 @@ import (
var me guiConfig
type guiConfig struct {
- // a toolkit requirement. never allow more than one per program
- initOnce sync.Once
-
- rootNode *Node // This is the master node. The Binary Tree starts here
+ rootNode *Node // This is the master node. The Binary Tree starts here
+ resFS embed.FS // option to pass in compiled plugins as embedded files
+ guiChan chan widget.Action // sets the chan for the plugins to call back too
+ tables []*guipb.Tables // a list of active protobuf tables
+ postMustParse func(string) string // used to get the final go-arg values after all user configuration is finished
+ counter int // used to make unique WidgetId's. this is a fun variable, but kinda dumb and should go
+ appPlugin string // deprecate. what the application would like the default GUI plugin to be
+ widgets *guipb.Widgets // switch to this and/or tree below
// tree *guipb.Tree // the protobuf. switch to this. deprecate rootNode
- widgets *guipb.Widgets // don't use this I think
- counter int // used to make unique WidgetId's
- tables []*guipb.Tables // a list of active protobuf tables
-
- // sets the chan for the plugins to call back too
- guiChan chan widget.Action
-
- // option to pass in compiled plugins as embedded files
- resFS embed.FS
-
- // what the application would like the default GUI plugin to be
- appPlugin string
}
/*