November 1999
Intermediate to advanced
832 pages
19h 28m
English
Table 34-13 lists the attributes for the canvas widget. The table uses the resource name, which has capitals at internal word boundaries. In Tcl commands, the attributes are specified with a dash and are all lowercase.
| background | The normal background color. |
| borderWidth | The width of the border around the canvas. |
| closeEnough | Distance from mouse to an overlapping object. |
| confine | Boolean. True constrains the view to the scroll region. |
| cursor | Cursor to display when mouse is over the widget. |
| height | Height, in screen units, of canvas display. |
| highlightBackground | Focus highlight color when widget does not have focus. |
| highlightColor | Color for input focus highlight border. |
| highlightThickness | Width of highlight ... |
Read now
Unlock full access