[maemo-developers] Gtk/hildon development questions

From: Dmitry S. Makovey dimon at makovey.net
Date: Fri Nov 28 06:24:42 EET 2008
Hi,

Hopefully I've chosen proper list for my questions. If not - point me to 
the right one.

I'm trying to give some of my Maemo apps more "polished" look-and-feel. 
So I'm looking for some tips and pointers:

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.

2. real cosmetic thing: which size/type of icons and where should I drop 
them so that they appear in menu in normal shape. Currently I think 
desktop picks up 24x24 icon even though everything else is 48x48.

3. PyGtk. My apps seem to be quite slow/weird in certain areas. For 
example: slow redrawing of gtk.TreeView on scrolls, sometimes when 
hildon keyboard pops up some GUI elements disappear (like last row of 
buttons etc.). I have seen similar problems with other PyGtk projects 
but I was wandering if there are some tips on what techniques work 
better in this environment or which techniques should be avoided.

More information about the maemo-developers mailing list