Re: reading keyboard
- From: Owen Taylor <otaylor redhat com>
- To: Shiraz Baig <shiraz_baig yahoo com>
- Cc: Havoc Pennington <hp redhat com>, Paul Davis <paul linuxaudiosystems com>, gtk-list gnome org
- Subject: Re: reading keyboard
- Date: 20 May 2003 08:02:47 -0400
On Mon, 2003-05-19 at 04:47, Shiraz Baig wrote:
> 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 :-)
You *really* don't want event->string; it's very much
there oly for backwards compat. Please read the docs on it:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Event-Structures.html#GdkEventKey
If you can't use an input method, use gdk_keyval_to_unicode(),
g_unichar_to_utf8().
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]