diff options
| author | Jeff Carr <[email protected]> | 2025-09-04 15:19:49 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-04 15:19:49 -0500 |
| commit | c71702102832061557ff3f8246a9f50dd8fbbab1 (patch) | |
| tree | b4738d91899823ea53e4d57c0aca0a4d1667cc67 | |
| parent | a7e68a70e42b5809d70f1a84052a3845b63a5ec3 (diff) | |
| -rw-r--r-- | argv.go | 2 | ||||
| -rw-r--r-- | main.go | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -4,6 +4,7 @@ import ( "os" "go.wit.com/dev/alexflint/arg" + "go.wit.com/gui" ) /* @@ -24,6 +25,7 @@ This basicwindow example demonstrates multiple windows } func init() { + gui.InitArg() pp := arg.MustParse(&argv) // for very new users or users unfamilar with the command line, this may help them @@ -25,7 +25,8 @@ var computers *gui.Node var colors *gui.Node func main() { - myGui = gui.New().Default() + myGui = gui.New() + myGui.Default() myGui.LoadToolkit("gocui") helloworld() |
