From: Dom Lachowicz (domlachowicz@yahoo.com)
Date: Tue Jan 07 2003 - 22:17:25 EST
I'm looking at how GtkEntry and GtkTextView operate
now. I'll hopefully have some tangible results
soonish.
Dom
--- Raphael Finkel <raphael@cs.uky.edu> wrote:
> Martin and David (and others!)
> 
> > > Can someone point me at the software I need to
> enter Japanese text in
> > > HEAD under Linux? I'm on PPC, so source is
> better than binaries. I've
> > > found some instructions on the web, but they're
> all in Japanese, and my
> > > Japanese isn't that good yet.
> > > 
> > 	The first thing you need to do is to get XIM
> working. 
> > Unfortunately none of the core AbiWord hackers
> have much experience with 
> > this. There was good post by Raphael a few days
> ago explaining his 
> > attempts to get things working. I suspect that it
> is not too hard but we 
> > need explicit help from XIM users.
> 
> I am in communication with the folks at gtk+; they
> support XIMs, but not the
> way my XIM works.  See
> http://bugzilla.gnome.org/show_bug.cgi?id=102779 for
> details.
> 
> Also, AbiWord needs to tell gtk+ that it has focus. 
> Here is some communication
> I have had with Hidetoshi Tajima
> <Hidetoshi.Tajima@Eng.Sun.COM>:
> 
> --- inserted communication
> 
> > >  Raphael wrote:
> > >2.  AbiWord cannot toggle into XIM mode; testtext
> can.  Again, a likely bug
> > >in AbiWord.
> > >
> > Toshi answered:
> > Maybe because of a lack of XSetICFocus() call? If
> so, will you please
> > try to put gtk_im_context_focus_in() call when
> AbiWord's window takes
> > input focus?
> 
> Raphael answered:
> gtk_im_context_focus_in() takes a (GtkIMContext *)
> parameter.  AbiWord never
> builds any GtkIMContext!  Should AbiWord call
> gtk_im_context_simple_new() once
> to generate a GtkIMContext and just reuse that
> GtkIMContext every time it calls
> gtk_im_context_simple_new()?  Does AbiWord need to
> call
> gtk_im_context_focus_out() when it loses focus?
> 
> Have you any idea why AbiWord is creating 4
> connections (to XIM_OPEN) instead
> of 1?  It is only calling gtk_init() once, so far as
> I can tell.  But it is
> creating several widgets.
> 
> --- end of inserted communication
> 
> I haven't gotten an answer yet, but at least he has
> given us a starting point.
> I have never programmed for gtk+; it is all a
> mystery to me.  It is quite
> poorly documented, at least for XIM usage.
> 
> Raphael
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
This archive was generated by hypermail 2.1.4 : Tue Jan 07 2003 - 22:21:36 EST