in reply to Binding to a tag on text on a canvas

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.

kelan


Perl6 Grammar Student

  • Comment on Re: Binding to a tag on text on a canvas