Re: Colors and other questions

[email protected] (Jeff Hobbs)
Newsgroups perl.tcltk
Message-ID <[email protected]>
On 2010-03-08, at 8:14 PM, Swingle David-QWHM86 wrote:
>> On 2010-03-08, at 6:46 PM, Michael Carman wrote:
>>> On 3/8/2010 7:28 PM, Swingle David-QWHM86 wrote:
>> Mostly right, but a few modifications ...
>> 
>> Ttk stands for Themed Tk, representing the themed set of Tk 
>> widgets.  They actually do use the native theming APIs to 
>> draw the widgets on each platform.  'tile' is indeed the name 
>> of the original extension from which ttk is derived. See the intro at
>>   http://docs.activestate.com/activetcl/8.5/tcl/TkCmd/ttk_intro.htm
>> 
> The overview section in the link above stops in the middle of a
> sentence.  Hopefully there isn't much more missing from the section :)

Good point.  That was fixed in the head (s/8.5/8.6/), and I've backported it.

> And the intro is for tcl not Perl/tkx, so is there a good way to
> translate?

See the previously provided links that help translate between Tcl and Perl/Tkx.

> So, in my particular case, I have several entry widgets, but for 2 or 3
> of them I want the background color to be red (or some other color) if
> the entry is blank.  Is there a way to change the background color of an
> individual ttk entry?

Yes, using styles.  See previous email.

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.