I'm playing around with gtkD (a D binding for GTK+)
I have a window
object, instance of gtk.MainWindow
. I want to handle keypresses on it.
- How?
- How do I deal with special keys (e.g. arrow keys, pgup/pgdn etc)?
PS I know these kinds of questions can be answered with google and stuff, but I've seen much "simpler" questions on stackoverflow, so I figured asking doesn't hurt.
Plus, sometimes, basic things tend to be burried under pages of documentation.