diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-15 22:29:47 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-15 22:29:47 -0400 |
| commit | 829cf7b1c6fff41440fbed5d02a31c2f6bb73796 (patch) | |
| tree | 21393636e786a7b998bcaf10f8a672716aa25e25 /sysdata_unix.go | |
| parent | a5a3287696a3c99faa9115c5864787157f266ed0 (diff) | |
Added (untested) GTK+ implementation of Area's mouse events.
Diffstat (limited to 'sysdata_unix.go')
| -rw-r--r-- | sysdata_unix.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdata_unix.go b/sysdata_unix.go index e9c507a..61e8e2e 100644 --- a/sysdata_unix.go +++ b/sysdata_unix.go @@ -98,7 +98,10 @@ var classTypes = [nctypes]*classData{ make: gtkAreaNew, child: gtkAreaGetControl, childsigs: callbackMap{ - "draw": area_draw_callback, + "draw": area_draw_callback, + "button-press-event": area_button_press_event_callback, + "button-release-event": area_button_release_event_callback, + "motion-notify-event": area_motion_notify_event_callback, }, }, } |
