[maemo-developers] Controlling virtual keyboard from Python application?
From: Igor Tkach itkach at gmail.comDate: Tue Aug 14 00:41:03 EEST 2007
- Previous message: Controlling virtual keyboard from Python application?
- Next message: How to keep window on top? (python)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tony,I can see that application managing the virtual keyboard can cause problems for BT keyboard users. I wouldn't be looking for a way to control VK if Maemo/Hildon/PyGTK were doing the right thing. Unfortunately they don't. For example, programmatically moving focus to an input field with grab_focus() does not bring up the VK. Sometimes VK hiding is triggered by seemingly unrelated UI events, e.g. programmatic selection change in a list, while input focus stays in input field. Does anybody have an insight into why this may be happening and how to avoid such undesirable behavior? Thank you, Igor On 8/13/07, Tony Maro <tonymaro at gmail.com> wrote: > > > On 8/13/07, Mohammad Anwari <mohammad.anwari at nokia.com> wrote: > > > > Pada hari Senin, tanggal 13/08/2007 pukul 10:50 -0400, ext Igor Tkach > > menulis: > > > Does anybody know if there's a way to interact with the virtual > > > keyboard from a Python (Pymaemo) app, i.e. programmatically bring it > > > up or hide it? What about finger keyboard? > > > > There is no easy way to do that, but you probably could try to emulate > > the triggers (e.g. the stylus or finger tap on the text entry), so the > > Hildon Input Method wakes up and invoke the input method based on the > > trigger. > > > > I would propose that this is a bad idea. I use a Bluetooth keyboard about > 40% of the time, and Maemo is very good about NOT popping up the keyboard > when my BT keyboard is active. > > That said, I have noticed that something in gre-calendar interferes with > the pop-up keyboard. You can get the smaller keyboard but not the finger > keyboard when entering a new event. > > > > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org<https://lists.maemo.org/mailman/listinfo/maemo-developers> > /mailman/listinfo/maemo-developers<https://lists.maemo.org/mailman/listinfo/maemo-developers> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070813/e543e7c7/attachment.htm
- Previous message: Controlling virtual keyboard from Python application?
- Next message: How to keep window on top? (python)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]