I got sent a patch which would work for accented characters, but was a bit
of a hack (it did not use X11 input methods.  Instead it used
gdk_keyval_name on the two characters, concatenated the two names and
called gdk_keyval_from_name on the result). The IM code in GTK is handled
by GdkIC objects (input context).

Getting lib/text.h using a GdkIC is on the todo list.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


On Wed, 12 Jan 2000, Cyrille Chepelov (home) wrote:

> 
> I've got a problem. Are there here any X11 gurus to help me ?
> 
> I noticed that dia's text object do not process correctly dead keys (eg, 
> ^ + e --> �). That's really biting me each time I want to produce
> documents in my native language, for which there's no diacritic-less
> spelling variant.
> 
> It seems the dead keys are seen in
> disp_callback.c/ddisplay_canvas_events() and then in
> text.c/text_key_event(), but not treated as such. Most gdk/gtk widgets
> work correctly wrt to dead keys, but there's no code at all in gtk-1.2.6's
> source which deals with that.
> 
> Anyone has an idea ?
> 
> Thank you very much in advance.
>       -- Cyrille
> 
> ------------------------------------------------------------------------------
> Grumpf.
> 
> 

Reply via email to