type: list-of-floats
X and y coordinates of the item.
type: string (default: "")
Text to be displayed.
type: integer
Width of of the item in pixel.
type: integer
Height of of the item in pixel.
type: boolean (default: 1)
Whether the the text is editable.
type: boolean (default: 1)
Whether the text is visible.
type: boolean (default: 1)
Whether the cursor is visible.
type: boolean (default: 1)
Whether the cursor is blinking.
type: boolean (default: 1)
Whether the the height of the item should increase if there is not enough space to display the whole text.
type: ONEOF none, char, word
Wrap mode used for the rendering of the cells.
type: ONEOF left, right, center, fill
Justification of the lines in one cell.
type: ONEOF center, N, NW, NE, S, SW, SE, W, E (default: center)
Position of the anchor relative to the text.
type: integer
Pixels below lines.
type: integer
Pixels between lines after wrap.
type: integer
Pixels above lines.
type: integer (default: 0)
Left margin of the text inside the item.
type: integer (default: 0)
Right margin of the text inside the item.
type: integer (default: 0)
Indention
type: string (default: "")
Tcl command which is executed if a mouse button is press inside the item. Before evaluation the following percent strings are substituated: TABLE %% | % %w | canvas name %i | item id %t | type of event: one of buttonPress, button2Press or button3Press %x | x coordinate %y | y coordinate %b | button number %s | state of the buttons and modifiers (bitmask) TABLE
type: string (default: "")
Tcl command which is executed if a mouse button is released if it has been pressed inside the item. Before evaluation the following percent strings are substituated: TABLE %% | % %w | canvas name %i | item id %t | type of event: always buttonRelease %x | x coordinate %y | y coordinate %b | button number %s | state of the buttons and modifiers (bitmask) TABLE
type: string (default: "")
Tcl command which is executed if a mouse enters the item. Before evaluation the following percent strings are substituated: TABLE %% | % %w | canvas name %i | item id %x | x coordinate %y | y coordinate %s | state of the buttons and modifiers (bitmask) TABLE
type: string (default: "")
Tcl command which is executed if a mouse enters the item. Before evaluation the following percent strings are substituated: TABLE %% | % %w | canvas name %i | item id %x | x coordinate %y | y coordinate %s | state of the buttons and modifiers (bitmask) TABLE
type: string (default: "")
Tcl command which is executed if the mouse is moved inside the item. Before evaluation the following percent strings are substituated: TABLE %% | % %w | canvas name %i | item id %x | x coordinate %y | y coordinate %s | state of the buttons and modifiers (bitmask) TABLE
type: list (default: "")
List of tags to be associated with this item. A tag must start with a alphabetic character which is followed by zero or more alphabetic or numeric characters.
canvasId itemCommand tagOrId erase startIndex ?endIndex?
Removes all text between startIndex and endIndex. endIndex defaults to end.
canvasId itemCommand tagOrId select startIndex ?endIndex?
Select the text between startIndex and endIndex. endIndex defaults to end.
canvasId itemCommand tagOrId get startIndex ?endIndex?
Returns the text between startIndex and endIndex. endIndex defaults to end.
canvasId itemCommand tagOrId cut
Copies all text to the clipboard and removes it from the widget.
canvasId itemCommand tagOrId copy
Copies all text to the clipboard.
canvasId itemCommand tagOrId paste
Pastes text from the clipboard at the current cursor position.
canvasId itemCommand tagOrId getLength
Returns the number of characters in the widget.
canvasId itemCommand tagOrId getCursor
Returns the position position of the cursor as list of its row and column.
canvasId itemCommand tagOrId setCursor index
Sets the cursor to position index.
canvasId itemCommand tagOrId insert index text ?-tags taglist?
Inserts and position indext the text text. If taglist is given the text is taged with each element of the list.
canvasId itemCommand tagOrId tag create tagName [-option value...]
Creates a tag with name tagName and configures it dependent of the options given. The options are the same as with tag configure.
canvasId itemCommand tagOrId tag configure tagName [-option value...]
Configures the existing tag tagName. See text for options.