getting the keypress Shift+KP_UP, etc.

When I connect the signal key_press_event to a widget, and then I get
the keyval of the GdkKeyEvent associated structure in the callback, how
am I aware of keys like Shift+KP_UP?
The problem is that when the user presses Shift+KP_UP, the keyval in the
event structure contains "8", and not the "combo key". This doesn't
happen with Shift+UP,... Anyway to solve this?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]