dchars

(#<widget> 'dchars tagOrId first ?last?)
For each item given by tagOrId, delete the characters, or coordinates, in the range given by first and last, inclusive.

If some of the items given by tagOrId don't support indexing operations then they ignore dchars.

Text items interpret first and last as indices to a character, line and polygon items interpret them indices to a coordinate (an x,y pair). Indices are described above.

If last is omitted, it defaults to first. This command returns an empty string.


© Author | Home | Sitemap