next up previous contents index
Next: Entry Up: Widgets Previous: Canvas   Contents   Index


Check-button

The following keyword arguments are available for creating an instance of the check-button and for configuring it

activebackground background of the active area
activeforeground foreground color for active widgets (when the mouse cursor is over the widget)
anchor specify the alignment of text/image drawn on the widget, one of (:n :w :s :e :nw :sw :se :ne) with :nw designating the top left corner
background background color of the widget
bitmap the bitmap to display on the widget, the display is affected by the options 'anchor' and 'justify'
borderwidth width of the border around the widget in pixels
cbcommand function to call when the action of the widget is executed
compound

cursor mouse pointer to display on the widget (valid values are listed in *cursors*)
disabledforeground

font font to use to display text on the widget
foreground foreground color of the widget
height height of the widget
highlightbackground

highlightcolor

highlightthickness

image the image to display on the widget, the display is affected by the options 'anchor' and 'justify'
indicatoron

justify justification of the text on the widget
offrelief

offvalue

onvalue

overrelief relief of the border, when the mouse is over the widget
padx padding around text displayed on the widget
pady padding around text displayed on the widget
relief relief of the widgets border (raised, sunken, ridge, groove)
selectcolor

selectimage

state

takefocus if true, the widget can take the focus
textvariable

underline

variable name of the variable associated with the widget
width width of the widget
wraplength


next up previous contents index
Next: Entry Up: Widgets Previous: Canvas   Contents   Index
Peter Herth 2006-01-29