diff options
Diffstat (limited to 'toolkit/andlabs/main.go')
| -rw-r--r-- | toolkit/andlabs/main.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/toolkit/andlabs/main.go b/toolkit/andlabs/main.go index 73aaad5..a72821a 100644 --- a/toolkit/andlabs/main.go +++ b/toolkit/andlabs/main.go @@ -32,20 +32,19 @@ func Main(f func()) { // For example: Queue(NewWindow()) // func Queue(f func()) { - log(debugToolkit, "Sending function to ui.QueueMain() (using gtk via andlabs/ui)") - log("THIS MIGHT BREAK") + log(debugToolkit, "Sending function to ui.QueueMain()") + log(true, "THIS DOES BREAK. TODO: wrap this") ui.QueueMain(f) // f() } func Init() { - log(debugToolkit, "should Init() here") + log(debugToolkit, "Init()") mapWidgets = make(map[*andlabsT]*toolkit.Widget) mapToolkits = make(map[*toolkit.Widget]*andlabsT) } func Quit() { - log(debugToolkit, "should Quit() here") - // myExit(nil) + log(debugToolkit, "Quit() TODO: close the toolkit cleanly") } |
