summaryrefslogtreecommitdiff
path: root/redo/controls_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/controls_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/controls_unix.go')
-rw-r--r--redo/controls_unix.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/redo/controls_unix.go b/redo/controls_unix.go
index 647e5ee..a091488 100644
--- a/redo/controls_unix.go
+++ b/redo/controls_unix.go
@@ -40,7 +40,10 @@ func newButton(text string) *Request {
}
}
-// TODO OnClicked
+func (b *Button) OnClicked(func e(c Doer)) *Request {
+ // TODO
+ return nil
+}
func (b *button) Text() *Request {
c := make(chan interface{})