|
From: Sori S. <sx...@ya...> - 2005-09-26 17:00:17
|
--- Jeff Hobbs <je...@Ac...> wrote:
>
> OK, the correct call would be:
>
> bt2.tk.call('style', 'map', 'TButton',
> '-background', '{active green}')
>
> You require the named style, and in this case you
> want to
> apply it to TButton (the class of the themed
> button). Note
> that it really affects the background drawn, not the
> highlight element.
Thanks for your answer. That's not it though; I end up
with:
_tkinter.TclError: State map must have an even number
of elements
which is odd...
Sorin Schwimmer
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
|