Re: reading keyboard



Excellent!, this is exactly what I wanted 
(event->string). I wonder, why did I not think of
earlier? Sometimes, one tends to miss the obvious.

Thanks Mr pennington, I have my problem solved. 

I am presently, not into internationalization, so I
need not worry for those refinements :-)

bye
shiraz

--- Havoc Pennington <hp redhat com> wrote:
> On Sun, May 18, 2003 at 09:22:04PM -0700, Shiraz
> Baig wrote:
> > 
> > But isn't there a routine to convert it to ASCII
> > rather than me writing it afresh. I am sure there
> must
> > be many who would be requiring it. 
> 
> You want event->string in the keypress event
> probably.
> 
> Note that this is broken for any program that will
> be
> internationalized; if you want to allow input of
> non-English, you need
> to use input methods (see GtkEntry source code for
> an example).
> 
> Havoc


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



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