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 <[EMAIL PROTECTED]>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 :)
>
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to