aashay
March 5th, 2008, 09:18 AM
I'm using an 'Entry' box to accept a password from the user. Is there a simple way to mask the password as it is being entered without affecting the result of the get_text function?
imdano
March 5th, 2008, 09:26 AM
You can use set_visibility and set_invisible_char to do this.
See: http://pygtk.org/docs/pygtk/class-gtkentry.html#method-gtkentry--set-visibility
aashay
March 5th, 2008, 09:30 AM
Thanks.
I had added the set_invisible_char function but without the set_visible one, it wasn't doing anything.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.