Question concerning TkText list

H

Harry Truax

[Note: parts of this message were removed to make it a legal post.]

Hello,



I have implemented a list using TkText that holds a list of sales tax rates.
I am comparing this list to a list of other rates, which is also implemented
via a TkText widget. I was wondering how to highlight the rates (using a
different color) in the list that differ from the rates in the other list. I
am aware of TkList, but did not want to go that route on this project.



Any help would be appreciated.



Thank You,



Harry
 
H

Hidetoshi NAGAI

From: "Harry Truax" <[email protected]>
Subject: Question concerning TkText list
Date: Wed, 25 Jun 2008 02:03:23 +0900
Message-ID: said:
I have implemented a list using TkText that holds a list of sales tax rates.
I am comparing this list to a list of other rates, which is also implemented
via a TkText widget. I was wondering how to highlight the rates (using a
different color) in the list that differ from the rates in the other list.

Please use TkTextTag.
You can find examples using TkTextTag on "<ruby-src>/ext/tk/sample/*".
"<ruby-src>/ext/tk/sample/tkmulticolumnlist.rb" may be a useful example
for your purpose.

Or, do you want any other one?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,471
Messages
2,571,826
Members
48,797
Latest member
PeterSimpson
Top