Option
|
Type
|
Description
|
background (bg)
|
color
|
|
borderwidth (bd)
|
distance
|
|
closeenough
|
|
|
confine
|
|
|
cursor
|
cursor
|
|
height
|
distance
|
|
highlightbackground, highlightcolor
|
color
|
Controls how to draw the focus highlight border. When the widget
has focus, the border is drawn in the highlightcolor
color. Otherwise, it is drawn in the highlightbackground
color. The defaults are system specific.
|
highlightthickness
|
distance
|
Controls the width of the focus highlight border. Default is one
or two pixels.
Note that the focus highlight border is drawn on top of the
canvas coordinate systems; if you don't use scrollbars, a one pixel
border covers items drawn at canvas coordinate (0, 0).
|
insertbackground
|
color
|
Color used for the insertion cursor.
|
insertborderwidth
|
distance
|
Borderwidth for the insertion cursor.
|
insertofftime, insertontime
|
time
|
Controls cursor blinking.
|
insertwidth
|
distance
|
Width of the insertion cursor.
|
relief
|
constant
|
Border decoration. The default is FLAT. Other possible
values are SUNKEN, RAISED, GROOVE, and
RIDGE.
Note that to show the border, you need to change the
borderwidth from it's default value of 0. Also note that the
border is drawn on top of the canvas coordinate system.
|
scrollregion
|
4-tuple
|
The bounding box of the scrollable area. If this option is not
set, the scrolling is not bounded.
|
selectbackground
|
color
|
|
selectborderwidth
|
distance
|
|
selectforeground
|
color
|
|
takefocus
|
flag
|
Indicates that the user can use the Tab key to move to
this widget. Default is an empty string, which means that the
canvas accepts focus only if it has any keyboard bindings (default
is off, in other words).
|
width
|
distance
|
|
xscrollcommand
|
callback
|
|
xscrollincrement
|
distance
|
|
yscrollcommand
|
callback
|
|
yscrollincrement
|
distance
|
|