Next: Check-button
Up: Widgets
Previous: Button
Contents
Index
Canvas
The following keyword arguments are available for creating an instance of the canvas and for configuring it
- background
background color of the widget
- borderwidth
width of the border around the widget in pixels
- closeenough
dermines when the mouse coursor is considered to be inside a shape, the default is 1.0
- confine
if t (default) allowed values for view are confined to the scrollregion
- cursor
mouse pointer to display on the widget (valid values are listed in *cursors*)
- height
height of the widget
- highlightbackground
- highlightcolor
- highlightthickness
- insertbackground
- insertborderwidth
- insertofftime
- insertontime
- insertwidth
- offset
- relief
relief of the widgets border (raised, sunken, ridge, groove)
- scrollregion
region in which the canvas should be scolled
- selectbackground
- selectborderwidth
- selectforeground
- state
- takefocus
if true, the widget can take the focus
- width
width of the widget
- xscrollcommand
- xscrollincrement
- yscrollcommand
- yscrollincrement
Next: Check-button
Up: Widgets
Previous: Button
Contents
Index
Peter Herth
2006-01-29