Re: How to retrieve a text string information
- From: Uwe Klein <uwe_klein_habertwedt@xxxxxxxxxxx>
- Date: Sat, 15 Jul 2006 21:35:14 +0200
Hi,
what about "tagging" these text elements during
creation:
$canv create text .... -tags {special_text tagged_for_rescaling ..}
or later
$canv addtag ..
and then do when it is time to rescale:
foreach item [$canv find withtag {tagged_for_rescaling} ] {
# do the rescaling
}
to keep the items on top
$canv raise tagged_for_rescaling
tagging can be used to advantage,
"find withtag" and imho all other ops that accept tags
allow operating on items selected by logigal ops on tags
i.e tagA||tagB works.
look into the canvas manpage: "ITEM IDS AND TAGS"
uwe
.
- References:
- How to retrieve a text string information
- From: maura.monville@xxxxxxxxx
- How to retrieve a text string information
- Prev by Date: How to retrieve a text string information
- Next by Date: Re: How to retrieve a text string information
- Previous by thread: How to retrieve a text string information
- Next by thread: Re: How to retrieve a text string information
- Index(es):