summaryrefslogtreecommitdiff
path: root/redo/window_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-07 16:51:17 -0400
committerPietro Gagliardi <[email protected]>2014-07-07 16:51:17 -0400
commit0c57837676eba65696a1e8175ff0b59ad1e00c37 (patch)
tree3e6f5ca235547450671180ee3bc339814282c5ee /redo/window_unix.go
parentc0c38ac8f5ded52f0db925ca7ca4bc6efedcb648 (diff)
Made event handler setters return a Request, implemented stubs on GTK+ so I can build a test, and made documentation consistent.
Diffstat (limited to 'redo/window_unix.go')
-rw-r--r--redo/window_unix.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/redo/window_unix.go b/redo/window_unix.go
index f76c350..dddcad1 100644
--- a/redo/window_unix.go
+++ b/redo/window_unix.go
@@ -107,4 +107,7 @@ func (w *window) Close() *Request {
}
}
-// TODO OnClosing
+func (w *window) OnClosing(func e(c Doer) bool) *Request {
+ // TODO
+ return nil
+}