> 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
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to