Tkinter Question
Martin Franklin
mfranklin1 at gatwick.westerngeco.slb.com
Sat Aug 16 04:28:49 EDT 2003
On Saturday 16 August 2003 8:31 am, Rami A. Kishek wrote:
> I'm in love with Lundh's Introduction to Tkinter manual, but I couldn't
> find in it the answer to this simple question: How do I set the
> properties of the main application (such as background color, fonts,
> etc)? I know I can do it widget by widget, but since the default for
> each widget is to inherit the properties of the Application, I was
> hoping there's a global way of setting these properties.
>
> Any feedback will be much appreciated,
google for Tkinter option_add and you should getsome help...
basically you call option_add on the toplevel (Tk / Toplevel) window like so
parent.option_add('*background', "black")
More information about the Python-list
mailing list