[maemo-developers] [maemo-developers] [vkb] gtk_context_im_show|hide

From: Antonio Gomes tonikitoo at gmail.com
Date: Wed Jun 7 18:21:01 EEST 2006
On 6/7/06, Antti Ijäs <antti.ijas at movial.fi> wrote:
> In case you just want show and hide the inputmethod once in a while, you
> can access the wannabe private imcontext member of GtkEntry
> (entry->im_context) as well. You don't necessarily have to create your
> own entries to do that ;)
>

Actually I am syncronizing vkb with mozilla-non-gtk-input-forms' focus
in/out event ( for minimo browser), so I thinkg it'd not suite :(

> Anyway, for each textentry instance you should create an instance of a
> GtkIMMultiContext. Remember to call for the
> gtk_im_context_set_client_window() in the realize function of your
> textentry (have a look at gtkentry.c as Tomas mentioned).

yep, i am doing this ...

> What version of Gtk are you using for this purpose btw?

$ pkg-config --modversion gtk+-2.0
2.6.10

thanks

regards

-- 
--Antonio Gomes

More information about the maemo-developers mailing list