Re: gtk_entry_new and accented chars
- From: "Tor Lillqvist" <tml iki fi>
- To: "Luiz Rafael Culik Guimaraes" <luiz xharbour com br>
- Cc: GTK developer list <gtk-app-devel-list gnome org>
- Subject: Re: gtk_entry_new and accented chars
- Date: Wed, 16 Jan 2008 23:08:18 +0200
but i cannot get the accented char from latin 1 code page on entry
In the GdkEventKey struct you have the keyval field. That is not a
character code in any encoding, it's a GDK "keyval". To get the
corresponding Unicode character (if any), use gdk_keyval_to_unicode
(). I'll let you figure out by yourself how to convert from a Unicode
character to Latin1.
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]