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, ``Name'' refers to the option's name in the option database (e.g. in .Xdefaults files). ``Class'' refers to the option's class value in the option database. ``Command-Line Switch'' refers to the switch used in widget-creation 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.

Name:	activeBackground
Class:	Foreground
Command-Line Switch:	-activebackground

Name:	activeBorderWidth
Class:	BorderWidth
Command-Line Switch:	-activeborderwidth

Name:	activeForeground
Class:	Background
Command-Line Switch:	-activeforeground

Name:	anchor
Class:	Anchor
Command-Line Switch:	-anchor

Name:	background
Class:	Background
Command-Line Switch:	-background or -bg

Name:	bitmap
Class:	Bitmap
Command-Line Switch:	-bitmap

Name:	borderWidth
Class:	BorderWidth
Command-Line Switch:	-borderwidth or -bd

Name:	cursor
Class:	Cursor
Command-Line Switch:	-cursor

Name:	disabledForeground
Class:	DisabledForeground
Command-Line Switch:	-disabledforeground

Name:	exportSelection
Class:	ExportSelection
Command-Line Switch:	-exportselection

Name:	font
Class:	Font
Command-Line Switch:	-font

Name:	foreground
Class:	Foreground
Command-Line Switch:	-foreground or -fg

Name:	geometry
Class:	Geometry
Command-Line Switch:	-geometry

Name:	highlightBackground
Class:	HighlightBackground
Command-Line Switch:	-highlightbackground

Name:	highlightColor
Class:	HighlightColor
Command-Line Switch:	-highlightcolor

Name:	highlightThickness
Class:	HighlightThickness
Command-Line Switch:	-highlightthickness

Name:	image
Class:	Image
Command-Line Switch:	-image

Name:	insertBackground
Class:	Foreground
Command-Line Switch:	-insertbackground

Name:	insertBorderWidth
Class:	BorderWidth
Command-Line Switch:	-insertborderwidth

Name:	insertOffTime
Class:	OffTime
Command-Line Switch:	-insertofftime

Name:	insertOnTime
Class:	OnTime
Command-Line Switch:	-insertontime

Name:	insertWidth
Class:	InsertWidth
Command-Line Switch:	-insertwidth

Name:	jump
Class:	Jump
Command-Line Switch:	-jump

Name:	justify
Class:	Justify
Command-Line Switch:	-justify

Name:	orient
Class:	Orient
Command-Line Switch:	-orient

Name:	padX
Class:	Pad
Command-Line Switch:	-padx

Name:	padY
Class:	Pad
Command-Line Switch:	-pady

Name:	relief
Class:	Relief
Command-Line Switch:	-relief

Name:	repeatDelay
Class:	RepeatDelay
Command-Line Switch:	-repeatdelay

Name:	repeatInterval
Class:	RepeatInterval
Command-Line Switch:	-repeatinterval

Name:	selectBackground
Class:	Foreground
Command-Line Switch:	-selectbackground

Name:	selectBorderWidth
Class:	BorderWidth
Command-Line Switch:	-selectborderwidth

Name:	selectForeground
Class:	Background
Command-Line Switch:	-selectforeground

Name:	setGrid
Class:	SetGrid
Command-Line Switch:	-setgrid

Name:	takeFocus
Class:	TakeFocus
Command-Line Switch:	-takefocus

Name:	text
Class:	Text
Command-Line Switch:	-text

Name:	textVariable
Class:	Variable
Command-Line Switch:	-textvariable

Name:	troughColor
Class:	Background
Command-Line Switch:	-troughcolor

Name:	underline
Class:	Underline
Command-Line Switch:	-underline

Name:	wrapLength
Class:	WrapLength
Command-Line Switch:	-wraplength

Name:	xScrollCommand
Class:	ScrollCommand
Command-Line Switch:	-xscrollcommand

Name:	yScrollCommand
Class:	ScrollCommand
Command-Line Switch:	-yscrollcommand

KEYWORDS

class, name, standard option, switch