[gtkada] How to display wchar or wstring

Emmanuel Briot briot at gnat.com
Tue Sep 19 14:23:55 CEST 2000


 > Currently, I am investigating how to display Chinese (2byte) through
 > Drawable_Area using Draw_Text under Window95. I managed to display some
 > characters on the screen, however I have difficulty in mapping the Character
 > to GB code. It seems to me, all characters displayed have it's Wchar'pos
 > value no where near the GB defined standard. Question: Does GtkAda have this
 > display capability? or simply I do not know how to use it.

GtkAda (and in fact gtk+) do not currently have an extended support for
wide-character strings.
However, the upcoming release of gtk+ (aka 2.0) has a much better support. We
will of course adapt GtkAda to it when it is ready.

If you really need the wide-character string support, you might have more
chance to download gtk+ directly from the CVS module (see www.gtk.org), and
see if it improves things for you

Emmanuel




More information about the gtkada mailing list