<span class="gmail_quote"></span><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="direction: ltr;"><div></div><div style="direction: ltr;">
<span class="q"><span class="gmail_quote">On 3/6/06, <b class="gmail_sendername">Tommi Komulainen</b> <<a href="mailto:tommi.komulainen@nokia.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
tommi.komulainen@nokia.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 2006-03-03 at 10:01 -0400, ext Antonio Gomes wrote:<br>> Hi there,<br>><br>> back to virtual keyboard stuff, I'm wondering how could a non-gtk<br>> entry (mozilla password html form in this case) could hide the inputed
<br>> text (after showing for a short period of time - default behaviour),<br>> like if I set gtk_entry_set_visibility of a GtkEntry to FALSE. I've<br>> been looking over the GtkEntry source code (at<br>> <a href="http://maemo.org/lxr/source/gtk%2B/gtk/gtkentry.c" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://maemo.org/lxr/source/gtk%2B/gtk/gtkentry.c</a>) and its way seems<br>> to be to gtk_gobject dependent. Is there any workaround ? Aaron ? :)<br><br>As mozilla (or at least GtkMozEmbed) already supports GtkIMContext in
<br>theory all you need to do is add the calls to the right methods when a<br>password entry is focused.<br><br>See for example<br><a href="http://lxr.mozilla.org/seamonkey/source/widget/src/gtk2/nsWindow.cpp#4500" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lxr.mozilla.org/seamonkey/source/widget/src/gtk2/nsWindow.cpp#4500
</a></blockquote></span></div><div style="direction: ltr;"><div><br>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 ?
</div></div></div></blockquote><div><br><br>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 ...
<br><br>Antonio Gomes<br></div><br></div><br><br clear="all"><br>-- <br>--Antonio Gomes<br>http:// tonikitoo (dot) blogspot (dot) com (slash)