XP is just a number | |
PerlMonks |
Re: Binding to a tag on text on a canvasby kelan (Deacon) |
on Sep 25, 2003 at 21:05 UTC ( [id://294257]=note: print w/replies, xml ) | Need Help?? |
Remember that bind takes as its first argument either the ID of an item, or a tag name. Unless you have have actually given all blue colored items the tag "blue", the bind won't work. Tags are not based on any item properties, but are just arbitrary text strings that you assign yourself. Use the addtag method of Canvas to add tags to items.
In Section
Seekers of Perl Wisdom
|
|