Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] InputMethod problem with SWT(gtk2.0)

Hi, ecipse.

I couldn't input Japanese character with Java Editor on Linux (Debian
3.0). I investigated the cause and found following mention:

http://developer.gnome.org/doc/API/2.0/gtk/gtk-changes-2-0.html

> GtkText and GtkTree are buggy and broken. We don't recommend using them, and
> changing old code to avoid them is a good idea. The recommended
> alternatives are GtkTextView and GtkTreeView. The broken widgets are not
> declared in the headers by default; to use them, define the symbol
> GTK_ENABLE_BROKEN during compilation. In some future release, these widgets
> will be removed from GTK+.

I tested a simple program which was used GtkTextView with gtk2.0, then
I could input Japanese character. But when I tried GtkText, it didn't
work correctly.

I checked swt.c and found that uses GtkText which should be replaced
GtkTextView. As long as GtkText continues being used, a lot of
non-Eglish speakers will be troubled to input the characters.
If you'll provide only gtk2.0 build, at least, you must replace them.

Would you please fix it?

best regards,

Takashi Okamoto


Back to the top