diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-28 01:57:07 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-28 01:57:07 -0400 |
| commit | c8ae74cf2677195106dcd526c8b745a995be9075 (patch) | |
| tree | e73419b923778852ebf42eea690492dde9cd09c4 /button.go | |
| parent | d13e398e903219ec622293e18384fa2a0207768a (diff) | |
Implemented the new events in the portable code.
Diffstat (limited to 'button.go')
| -rw-r--r-- | button.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -36,6 +36,9 @@ func (b *Button) Text() string { } func (b *Button) make(window *sysData) error { + b.sysData.event = func() { + window.winhandler.Event(Clicked, b) + } err := b.sysData.make(window) if err != nil { return err |
