Tkinter and default options

thomas_s at ebox.tninet.se thomas_s at ebox.tninet.se
Sun Jul 2 09:15:52 EDT 2000


Hello,

I'm using Tkinter for the GUI parts of a little game I'm working on. What is
the best way of setting default options of the widgets?  For instance I
want all widgets to have fg='green' and bg='black'. Is there a standard
way of doing this? If not, I was thinking of maybe writing a widget factory
that creates and configures them for me.

Thank,
Thomas




More information about the Python-list mailing list