Right after this line :
self.password = Tkinter.Entry(self.root, show='*')
which is roughky after line 204 for my version (1.89.5). The the
section dealing with the password Entry widget.

Cheers,



On Mon, Dec 20, 2010 at 11:16 PM, mdipierro <[email protected]> wrote:
> OK, where exactly do you insert them?
>
> On Dec 20, 4:26 pm, Manu <[email protected]> wrote:
>> Hi ,
>> Here is my 2cents tip to earn few seconds when i lauch web2py !!!
>>   I usually add these lines to the widget.py file to ensure that i get
>> the focus as soon as i start the application to enter my password and
>> have also bound the RETURN key to the start method
>>
>>         self.password = Tkinter.Entry(self.root, show='*')
>>
>>         self.password.bind('<Return>', lambda e: self.start())
>>         self.password.focus_force()
>>
>> how about adding these lines to the widget.py file ?
>> M.
>

Reply via email to