diff options
Diffstat (limited to 'gui.go')
| -rw-r--r-- | gui.go | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -88,10 +88,16 @@ func Gui() *GuiPrep { arg.Register(&argGui) prepGui = new(GuiPrep) - prepGui.rootn = gui.PreInit(postMustParse) + // prepGui.rootn = gui.PreInit(postMustParse) + prepGui.rootn = gui.PreInit() return prepGui } +// me.gui = me.myGui.Init() +func (g *GuiPrep) Init() *gui.Node { + return g.rootn +} + func (g *GuiPrep) Start() error { // me.myGui.InitEmbed(resources) if pname, err := g.rootn.Default(); err != nil { |
