options - Standard options supported by widgets


DESCRIPTION

This manual entry describes the common configuration options supported by widgets in the Tk toolkit. Every widget does not necessarily support every option (see the manual entries for individual widgets for a list of the standard options supported by that widget), but if a widget does support an option with one of the names listed below, then the option has exactly the effect described below.

In the descriptions below, ``Command-Line Name'' refers to the switch used in class commands and configure widget commands to set this value. For example, if an option's command-line switch is -foreground and there exists a widget .a.b.c, then the command .a.b.c configure -foreground black may be used to specify the value black for the option in the the widget .a.b.c. Command-line switches may be abbreviated, as long as the abbreviation is unambiguous. ``Database Name'' refers to the option's name in the option database (e.g. in .Xdefaults files). ``Database Class'' refers to the option's class value in the option database.

Switch:  -activebackground  
Name: activeBackground
Class: Foreground
Switch:  -activeborderwidth  
Name: activeBorderWidth
Class: BorderWidth
Switch:  -activeforeground  
Name: activeForeground
Class: Background
Switch:  -anchor  
Name: anchor
Class: Anchor
Switch:  -background or -bg  
Name: background
Class: Background
Switch:  -bitmap  
Name: bitmap
Class: Bitmap
Switch:  -borderwidth or -bd  
Name: borderWidth
Class: BorderWidth
Switch:  -cursor  
Name: cursor
Class: Cursor
Switch:  -disabledforeground  
Name: disabledForeground
Class: DisabledForeground
Switch:  -exportselection  
Name: exportSelection
Class: ExportSelection
Switch:  -font  
Name: font
Class: Font
Switch:  -foreground or -fg  
Name: foreground
Class: Foreground
Switch:  -geometry  
Name: geometry
Class: Geometry
Switch:  -highlightbackground  
Name: highlightBackground
Class: HighlightBackground
Switch:  -highlightcolor  
Name: highlightColor
Class: HighlightColor
Switch:  -highlightthickness  
Name: highlightThickness
Class: HighlightThickness
Switch:  -image  
Name: image
Class: Image
Switch:  -insertbackground  
Name: insertBackground
Class: Foreground
Switch:  -insertborderwidth  
Name: insertBorderWidth
Class: BorderWidth
Switch:  -insertofftime  
Name: insertOffTime
Class: OffTime
Switch:  -insertontime  
Name: insertOnTime
Class: OnTime
Switch:  -insertwidth  
Name: insertWidth
Class: InsertWidth
Switch:  -jump  
Name: jump
Class: Jump
Switch:  -justify  
Name: justify
Class: Justify
Switch:  -orient  
Name: orient
Class: Orient
Switch:  -padx  
Name: padX
Class: Pad
Switch:  -pady  
Name: padY
Class: Pad
Switch:  -relief  
Name: relief
Class: Relief
Switch:  -repeatdelay  
Name: repeatDelay
Class: RepeatDelay
Switch:  -repeatinterval  
Name: repeatInterval
Class: RepeatInterval
Switch:  -selectbackground  
Name: selectBackground
Class: Foreground
Switch:  -selectborderwidth  
Name: selectBorderWidth
Class: BorderWidth
Switch:  -selectforeground  
Name: selectForeground
Class: Background
Switch:  -setgrid  
Name: setGrid
Class: SetGrid
Switch:  -takefocus  
Name: takeFocus
Class: TakeFocus
Switch:  -text  
Name: text
Class: Text
Switch:  -textvariable  
Name: textVariable
Class: Variable
Switch:  -troughcolor  
Name: troughColor
Class: Background
Switch:  -underline  
Name: underline
Class: Underline
Switch:  -wraplength  
Name: wrapLength
Class: WrapLength
Switch:  -xscrollcommand  
Name: xScrollCommand
Class: ScrollCommand
Switch:  -yscrollcommand  
Name: yScrollCommand
Class: ScrollCommand

KEYWORDS

class, name, standard option, switch