On Thu, 2008-11-27 at 21:24 -0700, ext Dmitry S. Makovey wrote: > Hi, > > 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.
You could set different properties to "hildon-input-mode". If you set to HILDON_GTK_INPUT_MODE_NUMERIC, for instance, keyboard layout will be automatically updated to the proper one. Please find more from http://maemo.org/api_refs/4.0/gtk/GtkIMContext.html#HildonGtkInputMode Br, Richard _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
