iBabajan / gtkdialog

Automatically exported from code.google.com/p/gtkdialog
GNU General Public License v2.0
0 stars 0 forks source link

Export KEY on a key-press-event and key-release-event #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Export KEY on a key-press-event and key-release-event in the same way as BUTTON 
for on_any_widget_button_pressed and on_any_widget_button_released.

Original issue reported on code.google.com by thunor...@hotmail.com on 13 Oct 2011 at 5:15

GoogleCodeExporter commented 8 years ago
Done r333.

For key_press_event/key_release_event:

    KEY_VAL, KEY_SYM, KEY_UNI, KEY_MOD and KEY_RAW

For button_press_event/button_release_event:

    PTR_X and PTR_Y, PTR_MOD, PTR_BTN, PTR_X_ROOT and PTR_Y_ROOT

The existing BUTTON envvar still exists but I added an equivalent PTR_BTN.

Original comment by thunor...@hotmail.com on 6 Aug 2012 at 2:50