canvas dtag
Removes a tag from the items of TAGORID.
PATHNAME dtag TAGORID ?TAG?
Description
Removes TAG from each item of TAGORID. With no TAG, removes the tag TAGORID itself.
Returns
An empty string.
Examples
% canvas .dt
> .dt create oval 0 0 10 10 -tags {a b}
> .dt dtag 1 a
> .dt gettags 1
b
Errors
% canvas .dt2; .dt2 dtag
wrong # args: should be ".dt2 dtag tagOrId ?tagToDelete?"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1