diff options
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 24 |
1 files changed, 8 insertions, 16 deletions
@@ -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 } /* |
