Tkinter optionDB question

Martin Franklin mfranklin1 at gatwick.westerngeco.slb.com
Wed Oct 29 08:11:08 EST 2003


On Wed, 2003-10-29 at 12:40, klappnase wrote:
> Hello, everyone!
> 
> I want to use an optionDB file to get rid of some of the ugly Tkinter
> defaults, now at the moment it looks like this:
> 
> *font : Helvetica -12
> *Entry*background : white
> *Text*background : white
> *Listbox*background : white
> 
> This works fine, however I do not seem to be able to change other
> options, like:
> 
> *Listbox*selectbackground : blue
> 
> and similar things i have tried do not have any effect.
> I don't know if this is a syntax problem with the optionDB file or if
> it is simply not possible to set some options there.
> Does anyone know a manual where I can get a list of possible options
> and the correct syntax? Any help would be very appreciated.
> 
> Thanks in advance
> 
> Michael



http://www.tcl.tk/man/tcl8.4/TkCmd/options.htm

Example:

Command-Line Name: -activebackground 
Database Name: activeBackground 
Database Class: Foreground


So the Database Name is what (I think you want!)

Cheers
Martin
-- 
Martin Franklin <mfranklin1 at gatwick.westerngeco.slb.com>






More information about the Python-list mailing list