canvas addtagtagsearchSpec [argarg ...]
Add tag to the list of tags associated with each item that
satisfy searchSpec. See Canvas Search Specs below.
canvas bboxtagOrId [tagOrId ...]
Returns a list with four elements giving an approximate bounding box
for all the items named by the tagOrId arguments.
canvas bindtagOrId [sequence [command]]
Associates command to be invoked on events specified with sequence
with the items given by tagOrId.
canvas canvasxscreenx [gridspacing]
Returns the canvas x-coordinate that is displayed at screen x-coordinate
screenx possibly rounding to nearest multiple of gridspacing units.
canvas canvasyscreeny [gridspacing]
Returns the canvas x-coordinate that is displayed at screen y-coordinate
screeny possibly rounding to nearest multiple of gridspacing units.
canvas coordstagOrId [x0y0 ...]
Query or modify the coordinates that define an item.
canvas createtypexy [xy ...] [optionvalue ...]
Create a new item of type type at specified coordinates and with list options.
canvas dcharstagOrIdfirst [last]
For items given by tagOrId, delete the characters in the range given
by first and last (defaults to first), inclusive.
canvas delete
[tagOrId ...]
Delete each of the items given by each tagOrId.
canvas dtagtagOrId [tagToDelete]
Remove tag tagToDelete from the taglist of items given by tagOrId.
canvas findsearchSpec [argarg ...]
Returns a list of the items that satisfy the specification searchSpec.
See Canvas Search Specs below.
canvas focustagOrId
Set the focus to the first textual item given by tagOrId.
canvas gettagstagOrId
Return a list of the tags associated with the first item given by tagOrId.
canvas icursortagOrIdindex
Set the insertion cursor for the item(s) given by tagOrId to just
before the character position index .
canvas indextagOrIdindex
Returns a decimal string giving the numerical index within tagOrId
corresponding to character position index.
canvas inserttagOrIdbeforeThisstring
Insert string just before character position beforeThis in items
given by tagOrId that support textual insertion.
canvas itemcgettagOrIdoption
Returns the value option for the item given by tagOrId.
canvas itemconfiguretagOrId [optionvalue ...]
Modifies item-specific options for the items given by tagOrId.
canvas lowertagOrId [belowThis]
Move the items given by tagOrId to a new position in the
display list just before the first item given by belowThis.
canvas movetagOrId xAmount yAmount
Move the items given by tagOrId in the canvas coordinate space by
adding xAmount and yAmount to each items x and y coordinates, respectively.
canvas postscript
[optionvalue ...]
Generate a Encapsulated Postscript representation for part or all of the canvas.
See Canvas Postscript Options below.
canvas raisetagOrId [aboveThis]
Move the items given by tagOrId to a new position in the
display list just after the first item given by aboveThis.
canvas scaletagOrId xOrigin yOrigin xScale yScale
Rescale items given by tagOrId in canvas coordinate space to change the
distance from xOrigin,yOrigin by a factor of xScale,yScale respectively.
canvas scanargs
See Widget Scroll Commands above.
canvas select adjusttagOrIdindex
Adjust nearest end of current selection in tagOrId to be at index and
set the other end to be the new selection anchor.
canvas select clear
Clear the selection if it is in the widget.
canvas select fromtagOrIdindex
Set the selection anchor in tagOrId to just before the character at index.
canvas select item
Return id of the selected item. Returns a empty string if there is none.
canvas select totagOrIdindex
Set the selection to extend between index and anchor point in tagOrId.
canvas typetagOrId
Returns the type of the first item given by tagOrId.
canvas xview|yviewargs
See Widget Scroll Commands above.