Arrow keys move focus - how to disable?
- From: "M Razhov" <mrazhov mail ru>
- To: gtk-app-devel-list gnome org
- Subject: Arrow keys move focus - how to disable?
- Date: Sun, 07 Oct 2001 06:11:55 +0000 (GMT)
Hello,
Imagine one is writing a Tetris-like game where you control stuff
by the arrow keys. So your main game display area is a GtkDrawable.
Now, under it, you have some buttons for special control, and a few
other widgets. I connect to key_press_event of the drawable to
react to arrow presses. Now, every time I press an arrow key, my
focus moves away from the Drawable! How do I avoid this?
/m
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]