summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-12-12 13:37:36 -0500
committerPietro Gagliardi <[email protected]>2015-12-12 13:37:36 -0500
commit31ae742daf04c6bc5a79ff9fc339fa00ebc2b620 (patch)
tree2b4fde84ef9c4d6a3a9bfdce3f2b22f6fb12bfa2 /main.go
parenta181d36b5848a826b904ac06c56f961cb88c5878 (diff)
Added uiWindow.
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.go b/main.go
index a5b4269..c7cb51a 100644
--- a/main.go
+++ b/main.go
@@ -57,8 +57,9 @@ func start(errchan chan error, f func()) {
errchan <- nil
}
-// Quit queues an exit from the GUI thread. It does not exit the
-// program. Quit must be called from the GUI thread.
+// Quit queues a return from Main. It does not exit the program.
+// It also does not immediately cause Main to return; Main will
+// return when it next can. Quit must be called from the GUI thread.
func Quit() {
C.uiQuit()
}