Re: Colors and other questions

[email protected] (Jeff Hobbs)
Newsgroups perl.tcltk
Message-ID <[email protected]>
On 2010-03-08, at 9:07 PM, Swingle David-QWHM86 wrote:
> If I try something like:
>    $g_widgets{EntryTheme} = Tkx::ttk__style_configure("Red.TEntry",
> -background => "red");
> I get:
>    invalid command name "ttk::style" at ...
> I took the ttk__style_configure() from the tutorial at
> http://www.tkdocs.com/tutorial

That works for me.  Are you still using the older Tkx?  Do you have the 'tile' package in use in that case?  I would recommend using the latest ActivePerl though to keep it most consistent with docs and examples that will mostly be Tk 8.5 based.

Jeff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.