[Java-gnome-developer] KeyEvent, determining if Enter is pushed
Brought to you by:
afcowie
From: Jonathon L. <j...@co...> - 2005-03-21 10:19:45
|
G'day, I'm wanting a person to be able to enter a command into an Entry, and then push enter. I can read the event.keyval , and see if it is equal to 65421 or 65293 , (the two enter keys), but I was wondering if there weren't some slightly more readable literal in java-gnome? In Gdk, you'd use GDK_Return , is there an equivalent in java-gnome? J. |