diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-16 21:40:33 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-16 21:40:33 -0400 |
| commit | ae554f10c3b652a3dfe765fd63107237e9aafa28 (patch) | |
| tree | bbe08c7df5c6b88d4087051ed85a5ce2c165f0e4 /sysdata.go | |
| parent | ab4d286c78b4e240a82b2b191f0d9c8d43c7b44c (diff) | |
Changed Area to use a delegate handler object that implements the new AreaHandler interface for handling events. Also updated the GTK+ backend with this change, and made a few more tweaks to the documentation in area.go.
Diffstat (limited to 'sysdata.go')
| -rw-r--r-- | sysdata.go | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -18,11 +18,8 @@ type cSysData struct { ctype int event chan struct{} resize func(x int, y int, width int, height int, winheight int) error - alternate bool // editable for Combobox, multi-select for listbox, password for lineedit - - // for Area - paint chan PaintRequest - mouse chan MouseEvent + alternate bool // editable for Combobox, multi-select for listbox, password for lineedit + handler AreaHandler // for Areas } func (c *cSysData) make(initText string, window *sysData) error { panic(runtime.GOOS + " sysData does not define make()") |
