[maemo-developers] Gtk/hildon development questions
From: Richard Sun Richard.Sun at nokia.comDate: Mon Dec 1 16:10:46 EET 2008
- Previous message: Survey about Maemo porting problems
- Next message: Is Ubuntu 64 bit compatible with Scratchbox and Maemo SDK?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Survey about Maemo porting problems
- Next message: Is Ubuntu 64 bit compatible with Scratchbox and Maemo SDK?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]