How to catch the "Supr" key



Hi,

I wanted to ask how to properly catch the "Supr" key press event.

I guess I should connect the "button-press-event" to a signal handler
and make the signal handler check whether (event->type ==
GDK_KEY_PRESS); then do something. But, how can the handler know which
key has been pressed? Or there's a specific event for the "Supr" key?

Thanks.

*
Maulet




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