Re: PERL Tkx changing colors

[email protected] (gary sachs) Mon, 11 Jul 2011 11:32:14 -0700 (PDT)
Newsgroups perl.tcltk
Message-ID <[email protected]>
Perfect, thank you.

--- On Fri, 7/8/11, Jeff Hobbs <[email protected]> wrote:

> From: Jeff Hobbs <[email protected]>
> Subject: Re: PERL Tkx changing colors
> To: "gary sachs" <[email protected]>
> Cc: [email protected]
> Date: Friday, July 8, 2011, 9:27 AM
> On 08/07/2011 7:27 AM, gary sachs
> wrote:
> > Thank you, the code does shed some light. I does seem
> that the TTK
> > themed/stylized widgets do not quite offer the level
> of
> > customizations that the non-TTK allow. I understand
> that the TTK
> > style widgets are supposed to be the same as the OS's
> respective
> > widgets and thus the limitations.
> 
> Indeed, the classic Tk widgets are per-widget customized,
> while the themed Tk widgets are style-based.  You can
> of course choose to style each widget differently, but it's
> designed to cover all or few easily.
> 
> > Do you know can a non-TTK widget, say a button, after
> its colors have
> > been customized then be altered to have the rounded
> corners and
> > shadings as the XP button in my case?
> 
> At http://wiki.tcl.tk/14796 you will see how to customize
> the background on a Ttk button, with some extras. 
> There are several other examples at the Tcl wiki that just
> need minor translation over to Perl/Tkx.
> 
> Jeff
>