I'm using it the same way - Vala doesn't have bindings for the Hildon patched GTK+. It works.<br><br><div class="gmail_quote">On Sat, Nov 29, 2008 at 7:14 AM, Dmitry S. Makovey <span dir="ltr"><<a href="mailto:dimon@makovey.net">dimon@makovey.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Kamen Bundev wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1. how can I restrict input in certain input fields to subset of<br>
characters. I know it can be done - I remember seeing some application<br>
having half-of-hildon keyboard grayed out so that there is no way to<br>
type something that is no allowed. As a quick example: numeric-only<br>
fields; fact that I have to hit "shift" button first to get normal<br>
keypad appear in numeric fields makes it really awkward and unfriendly.<br>
</blockquote>
<a href="http://maemo.org/api_refs/4.1/gtk+2.0-2.10.12/libgtk2.0/GtkIMContext.html#HildonGtkInputMode" target="_blank">http://maemo.org/api_refs/4.1/gtk+2.0-2.10.12/libgtk2.0/GtkIMContext.html#HildonGtkInputMode</a><br>
</blockquote></div>
awesome. Thanks! My apps are PyGtk apps, but that gave me something to look for. My current plan is to use something like:<br>
<br>
entry=gtk.Entry()<br>
im=entry.set_property('hildon-input-mode',2)<br>
<br>
not sure if I can actually get to some constants definitions. but this is already looking so much better :)<br>
</blockquote></div><br>