[Sugar-devel] Sugar with a virtual (onscreen) keyboard

C. Scott Ananian cscott at laptop.org
Tue Jun 29 19:18:57 EDT 2010


On Tue, Jun 22, 2010 at 4:28 PM, Sayamindu Dasgupta <sayamindu at gmail.com> wrote:
>> - Ideally something (Gnome I assume?) should trigger the keyboard overlay when you focus on a text field, perhaps with some hints about what the 'return' key behaviour should do (or expose a tab key as that is usually the other common text field navigation method). Dismissing the keyboard overlay when a text field is defocused would also be ideal.
>
> AFAIK, this requires a GTK+ module to be loaded. I'm still trying to
> write a proof of concept implementation of this - it seems that
> there's no documentation anywhere for writing GTK+ modules :-(

Yeah, I gave up and just used LD_PRELOAD when I had this problem.  If
you want to try the quick-and-dirty way for a proof of concept, this
might be handy:
  http://dev.laptop.org/git/users/cscott/journal2/tree/

Do all of firefox/xulrunner/chrome use GTK widgets for text entry?
I'm nervous that some programs might not pop up the keyboard
appropriately.

You could add a gesture to force the keyboard up even for badly
behaved applications.  I think the iPad/iPhone gesture for that is
dragging your finger from the bottom of the screen to the top.
  --scott

-- 
                         ( http://cscott.net/ )



More information about the Devel mailing list