Re: Keypress events



>Mouse PRess events work properly, but key events won't and I dont have an idea
>why

set the GTK_CAN_FOCUS flag (or whatever its called), and make sure the
drawing area has focus. non-top-level-window widgets don't get key
events unless they are the focus widget.

see the docs for GtkWidget for more info on how to do both things.

--p



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