Active Topics

 


Reply
Thread Tools
laasonen's Avatar
Posts: 565 | Thanked: 618 times | Joined on Jun 2010 @ Finland
#1
I'm having some trouble using hildon.Entry with python. I can't find any information about password mode and disabling automatic capitalization. Could someone please give me example or link to more comprehensive documentation?

Hildon::Entry Class Reference

Thanks.
 
Posts: 144 | Thanked: 134 times | Joined on Jan 2010 @ Hamburg
#2
 
Posts: 144 | Thanked: 134 times | Joined on Jan 2010 @ Hamburg
#3
 

The Following User Says Thank You to mbo For This Useful Post:
laasonen's Avatar
Posts: 565 | Thanked: 618 times | Joined on Jun 2010 @ Finland
#4
Thanks, I got the password-field working like this:
Code:
self.fields["password"].set_visibility(False)
But I cant find any information concerning automatic capitalization.
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#5
Originally Posted by laasonen View Post
Thanks, I got the password-field working like this:
Code:
self.fields["password"].set_visibility(False)
But I cant find any information concerning automatic capitalization.
to disable automatic capitalization, set the input mode to
alphanumeric only:
Code:
entry = hildon.Entry(gtk.HILDON_SIZE_AUTO)
entry.set_input_mode(gtk.HILDON_GTK_INPUT_MODE_ALPHA | gtk.HILDON_GTK_INPUT_MODE_NUMERIC)
regards
Nicolai
 

The Following User Says Thank You to nicolai For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 06:36.