tkinter: option_add() problem
Bob van der Poel
bvdpoel at uniserve.com
Sat Jun 17 17:55:27 EDT 2000
Using tkinter to modify the option database I CAN do things like:
root.option_add( '*activeBackground', 'white')
However,
root.option_add( '*Font', "family times -weight bold -size 14" )
gives me the error message:
TclError: expected integer but got "times"
the equivalent??? tcl:
option add *Font {-family times -weight bold -size 14}
works fine.
Help!
--
__
/ ) / Bob van der Poel
/--< ____/__ bvdpoel at uniserve.com
/___/_(_) /_) http://users.uniserve.com/~bvdpoel
More information about the Python-list
mailing list