Comment 16 for bug 663776

Revision history for this message
Ying-Chun Liu (paulliu) wrote :

Hi,

Just a comment.
I think support ibus should not be very hard.
To support Chinese input method, you need to inherit ClutterIMText instead of ClutterText.
ClutterIMText is a subclass of ClutterText, provided in libclutter-imcontext.

So, my suggest is to modify clutk to use ClutterIMText instead of ClutterText. (And add depends on libclutter-imcontext)..

After that, set the environment CLUTTER_IM_MODULE="ibus" and it should support Chinese input.
The media player hornsey is using this to support Chinese inputs.

Regards,
Paul