beetlebug▾
/

canvas delete

Deletes the items of each TAGORID.

PATHNAME delete ?TAGORID ...?

Description

Deletes each item of each TAGORID, with its bindings. A TAGORID with no item is not an error.

Returns

An empty string.

Examples

% canvas .de
> .de create rectangle 0 0 10 10
> .de create oval 0 0 10 10
> .de delete 1
> .de find all
2

Errors

delete gives no error for a TAGORID with no item.

Facts

Capability
None.
Tcl release
Tcl 9.1 and 8.6.
Since
ztk 1.0.0-beta.1

See also