tkinter, option_add, entry field trouble

Bob Greschke bob at passcal.nmt.edu
Sun Jun 5 14:52:04 EDT 2005


I can't get

Root.option_add("*Entry*highlightthickness", "2")
Root.option_add("*Entry*highlightcolor", "green")

to work.  Anyone know why?  Setting the font, background color, etc.
this way works OK.

Are there some options that can't be set "globally"?  Setting these two
options in the Entry() statements themselves works OK.  I've just got
about 200 Entry statements that I was hoping to not have to edit. :)

This is on Linux FC1, Python 2.3.

Thanks!

Bob





More information about the Python-list mailing list