Re: reading keyboard
- From: Havoc Pennington <hp redhat com>
- To: Shiraz Baig <shiraz_baig yahoo com>
- Cc: Paul Davis <paul linuxaudiosystems com>, gtk-list gnome org
- Subject: Re: reading keyboard
- Date: Mon, 19 May 2003 00:25:45 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]