XIM Root vs OverTheSpot and GTK support



I am doing an internationalization effort for our product, the MusicPad Pro, and I need to have Chinese input for our Chinese localization. I am using xcin for the input and would like to use "OverTheSpot" support instead of "Root" support, but from what I can tell (I'm using gtk+-2.6.4) there is not support for this input style.

In particular, I notice that the ALLOWED_MASK #define in gtkimcontextxim.c is set to (XIMPreeditCallbacks | XIMPreeditNothing | XIMPreeditNone | XIMStatusCallbacks | XIMStatusNothing | XIMStatusNone).

If I just added XIMPreeditPosition, would this work or is there more that would need to be done to support the OverTheSpot mode?

Thanks for your help on this.

Ted Schroeder
FreeHand Systems, Inc.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]