Removing key-presses from queue in "key-press-even"



Dear Sirs,

I am rather new to the GTK+ toolkit (been a windows programmer) and I've
run into a small problem that I cannot find the answer to in the GTK
reference. 

I have an application with a gtk_entry and I have a "key-press-event".
Now I want to capture an GDK_KEY_Up event and do some text stuff. My
problem now is that the focus should stay on the gtk_entry and not
change. 

How do I stop the GDK_KEY_Up from being processed further?

Regards,
Janus N. Tøndering
Denmark






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