[gtkada] Getting the Return key in a Gentry widget?
Preben Randhol
randhol at pvv.org
Mon Apr 23 14:03:14 CEST 2001
manuel.op.de.coul at eon-benelux.com wrote on 23/04/2001 (12:52) :
> No, that should be key_press_event. I have the same situation in my
> application and I just check against Gdk_Return. If you think further
> you might imagine some other keys to do useful things at the same
> time. I have the arrow up and down key which cycles a command history
> buffer for example which is checked in the same if-statement.
True, but I don't need that in this case. I also found out that the
"activate" signal gets sent when one hits Enter, so it is only to hook
this up with your Callback and your in business :-).
--
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
«For me, Ada95 puts back the joy in programming.»
More information about the gtkada
mailing list