From 829cf7b1c6fff41440fbed5d02a31c2f6bb73796 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 15 Mar 2014 22:29:47 -0400 Subject: Added (untested) GTK+ implementation of Area's mouse events. --- sysdata_unix.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sysdata_unix.go') 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, }, }, } -- cgit v1.2.3