Monday, July 13, 2009

Tkinter tidbit: login prompt

I wrote a tkinter login promt that looks like this:



It creates the window, adds the labels, entries and button, connects them with focus / confirm commands and then centres the screen. When the credentials are submitted, it calls the login method.

The source for it is:

No comments:

Post a Comment