beetlebug▾
/

canvas raise

Moves items higher in the order of the display.

PATHNAME raise TAGORID ?ABOVE?

Description

Moves the items of TAGORID above the highest item of ABOVE, or above each other item with no ABOVE. The items keep their order among themselves.

Returns

An empty string.

Examples

% canvas .ra
> .ra create rectangle 0 0 10 10
> .ra create oval 0 0 10 10
> .ra raise 1
> .ra find all
2 1

Errors

% canvas .ra2; .ra2 create oval 0 0 1 1; .ra2 raise 1 99
tagOrId "99" doesn't match any items
-errorcode NONE

% canvas .ra3; .ra3 raise
wrong # args: should be ".ra3 raise tagOrId ?aboveThis?"
-errorcode NONE

Facts

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

See also