[maemo-developers] Gtk/hildon development questions
From: Kamen Bundev bundyo at gmail.comDate: Sat Nov 29 15:58:56 EET 2008
- Previous message: Gtk/hildon development questions
- Next message: GTK Modifications
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm using it the same way - Vala doesn't have bindings for the Hildon patched GTK+. It works. On Sat, Nov 29, 2008 at 7:14 AM, Dmitry S. Makovey <dimon at makovey.net>wrote: > Kamen Bundev wrote: > >> 1. how can I restrict input in certain input fields to subset of >>> characters. I know it can be done - I remember seeing some application >>> having half-of-hildon keyboard grayed out so that there is no way to >>> type something that is no allowed. As a quick example: numeric-only >>> fields; fact that I have to hit "shift" button first to get normal >>> keypad appear in numeric fields makes it really awkward and unfriendly. >>> >> >> http://maemo.org/api_refs/4.1/gtk+2.0-2.10.12/libgtk2.0/GtkIMContext.html#HildonGtkInputMode >> > awesome. Thanks! My apps are PyGtk apps, but that gave me something to look > for. My current plan is to use something like: > > entry=gtk.Entry() > im=entry.set_property('hildon-input-mode',2) > > not sure if I can actually get to some constants definitions. but this is > already looking so much better :) > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20081129/2cb021cc/attachment.htm
- Previous message: Gtk/hildon development questions
- Next message: GTK Modifications
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]