Re: Popping up virtual keyboards via PyGTK, double click rate

2009-06-05 Thread Marco Trevisan (Treviño)
Al Johnson wrote:
 On Thursday 04 June 2009, David Ford wrote:
 I've been told that telling the widget to grab the focus should pop up
 the virtual keyboard, but it has yet to happen.
 
 Not quite - it responds to various X atoms being set. This post has some more 
 info, including c code. You may need to check the illume source for the 
 complete list of atoms.
 http://www.mail-archive.com/community@lists.openmoko.org/msg41666.html
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

Well, if you don't want to implement this only for an application, you
only have to add the libmb-im-invoker.so under the gtk lib immodules
dir. It's included in the opkg package matchbox-keyboard-im.

By the way the gtk libraries have a bug, since they don't allow the
keyboard to pop-up (i.e. don't send the focus callback) if the
selected entry has no visibility (i.e. if it is a password field).

Bye

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Popping up virtual keyboards via PyGTK, double click rate

2009-06-04 Thread jeremy jozwik
if this means that the keyboard will finally auto-show when a text field is
active, i am really excited.

On Thu, Jun 4, 2009 at 11:39 AM, David Ford da...@blue-labs.org wrote:

 I've been told that telling the widget to grab the focus should pop up
 the virtual keyboard, but it has yet to happen.

 Does anyone have some example code references for doing this?  I'm
 working off a SHR base.

 Next, how can I modify the double click/tap rate?  A double click with a
 finger is most difficult at present and still difficult with a stylus.
 Again, SHR (-unstable)

 thank you muchly,
 -david

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Popping up virtual keyboards via PyGTK, double click rate

2009-06-04 Thread Al Johnson
On Thursday 04 June 2009, David Ford wrote:
 I've been told that telling the widget to grab the focus should pop up
 the virtual keyboard, but it has yet to happen.

Not quite - it responds to various X atoms being set. This post has some more 
info, including c code. You may need to check the illume source for the 
complete list of atoms.
http://www.mail-archive.com/community@lists.openmoko.org/msg41666.html

 Does anyone have some example code references for doing this?  I'm
 working off a SHR base.

I've not seen any, but this might help in combination with the c code above:
http://python-xlib.sourceforge.net/doc/html/python-xlib_14.html#SEC13

 Next, how can I modify the double click/tap rate?  A double click with a
 finger is most difficult at present and still difficult with a stylus.
 Again, SHR (-unstable)

 thank you muchly,
 -david

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community