From 0c57837676eba65696a1e8175ff0b59ad1e00c37 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 7 Jul 2014 16:51:17 -0400 Subject: Made event handler setters return a Request, implemented stubs on GTK+ so I can build a test, and made documentation consistent. --- redo/controls_unix.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'redo/controls_unix.go') 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{}) -- cgit v1.2.3