[maemo-developers] [maemo-developers] VirtualKeyboard service/API

From: Antonio Gomes tonikitoo at gmail.com
Date: Mon Mar 6 17:27:45 EET 2006
> On 3/6/06, Tommi Komulainen <tommi.komulainen at nokia.com> wrote:
> >
> > On Fri, 2006-03-03 at 10:01 -0400, ext Antonio Gomes wrote:
> > > Hi there,
> > >
> > > back to virtual keyboard stuff, I'm wondering how could a non-gtk
> > > entry (mozilla password html form in this case) could hide the inputed
> >
> > > text (after showing for a short period of time - default behaviour),
> > > like if I set gtk_entry_set_visibility of a GtkEntry to FALSE. I've
> > > been looking over the GtkEntry source code (at
> > > http://maemo.org/lxr/source/gtk%2B/gtk/gtkentry.c) and its way seems
> > > to be to gtk_gobject dependent. Is there any workaround ? Aaron ? :)
> >
> > As mozilla (or at least GtkMozEmbed) already supports GtkIMContext in
> > theory all you need to do is add the calls to the right methods when a
> > password entry is focused.
> >
> > See for example
> > http://lxr.mozilla.org/seamonkey/source/widget/src/gtk2/nsWindow.cpp#4500
> >
>
>
> I'm already doing a lot of stuff exactly at this file, what is missing is
> to know the "right methods" to call ? I see just gtk_entry_set_visibility
> (at al). Do you see any other ?
>


and the im_context there is not tied to entry (or any "mozilla internal html
rendered input widget") focusses, but to main window focus-in/out events
instead. I had to customize some stuff there as well as creating a new
mozilla service to get VK working properly. Just the hide-passwd stuff is
missing ...

Antonio Gomes




--
--Antonio Gomes
http:// tonikitoo (dot) blogspot (dot) com (slash)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060306/964b0918/attachment.htm 
More information about the maemo-developers mailing list