Removed some more commented-out code from ages ago from area_unix.go.
This commit is contained in:
parent
475e232ea1
commit
c82949b8d2
11
area_unix.go
11
area_unix.go
|
@ -262,17 +262,6 @@ func doKeyEvent(widget *C.GtkWidget, event *C.GdkEvent, data C.gpointer, up bool
|
||||||
|
|
||||||
//export our_area_key_press_event_callback
|
//export our_area_key_press_event_callback
|
||||||
func our_area_key_press_event_callback(widget *C.GtkWidget, event *C.GdkEvent, data C.gpointer) C.gboolean {
|
func our_area_key_press_event_callback(widget *C.GtkWidget, event *C.GdkEvent, data C.gpointer) C.gboolean {
|
||||||
/*
|
|
||||||
fmt.Printf("PRESS %#v\n", e)
|
|
||||||
fmt.Printf("this (%d/GDK_KEY_%s):\n", e.keyval,
|
|
||||||
C.GoString((*C.char)(unsafe.Pointer(
|
|
||||||
C.gdk_keyval_name(e.keyval)))))
|
|
||||||
pk(e.keyval, e.window)
|
|
||||||
fmt.Printf("%d/GDK_KEY_A:\n", C.GDK_KEY_A)
|
|
||||||
pk(C.GDK_KEY_A, e.window)
|
|
||||||
fmt.Printf("%d/GDK_KEY_a:\n", C.GDK_KEY_a)
|
|
||||||
pk(C.GDK_KEY_a, e.window)
|
|
||||||
*/
|
|
||||||
doKeyEvent(widget, event, data, false)
|
doKeyEvent(widget, event, data, false)
|
||||||
return continueEventChain
|
return continueEventChain
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue