Hi Adam,

I made an investigation to discover how you can do this with C and I
found a reference to GtkIMContext object associated with a GtkWidget
object.

When a GtkEntry (that derives from GtkWidget) get focus it sends a
gtk_im_focus_in() message to GtkIMContext object and this method make
the softkeypad popup on the screen.

There are bindings to GtkEntry and GtkIMContext in PyGTK+[1][2] but I
didn't have time to discover how you can use these objects to keep the
softkeypad from going away.

[1] http://www.pygtk.org/docs/pygtk/class-gtkimcontext.html
[2] http://www.pygtk.org/docs/pygtk/class-gtkwidget.html

Thanks,
Osvaldo

On 10/9/06, adam singer <[EMAIL PROTECTED]> wrote:
How can  you keep the softkeypad from going away in a hildon application
written in python?
[cut]

--
Osvaldo Santana Neto (aCiDBaSe)
http://www.pythonologia.org
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to