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