[Tutor] Led buttons in python
alan.gauld@bt.com
alan.gauld@bt.com
Sun, 7 Apr 2002 23:42:34 +0100
> i am new to python
> how can i create LED buttons for displaying the status ?
Assuming you use Tkinter for the GUI then I suggest a Label
object with an embedded image. Use any paint program to
produce the colored LED graphics you need in GIF format
and switch these in the image object that you embed in
the Label.
Sounds more comnplex than it is. Grab my hangman game
from Useless Python and see how I changed the Hangman
states for an example.
If that didn't make any sense then shout and we'll
start from closer to the beginning! :-)
Alan g.