B.25. Optionmenu
Option name
|
.Xdefault's name
|
Class name
|
Default value
|
Current value
|
-activebackground
|
activeBackground
|
Foreground
|
#ececec
|
#ececec
|
-activeforeground
|
activeForeground
|
Background
|
Black
|
Black
|
-activetile
|
activeTile
|
Tile
|
undef
|
|
-anchor
|
anchor
|
Anchor
|
center
|
center
|
-background
|
background
|
Background
|
#d9d9d9
|
#d9d9d9
|
-bd
|
borderWidth
|
|
|
|
-bg
|
background
|
|
|
|
-bitmap
|
bitmap
|
Bitmap
|
|
undef
|
-borderwidth
|
borderWidth
|
BorderWidth
|
2
|
2
|
-command
|
undef
|
undef
|
undef
|
undef
|
-cursor
|
cursor
|
Cursor
|
|
undef
|
-direction
|
direction
|
Direction
|
below
|
below
|
-disabledforeground
|
disabledForeground
|
DisabledForeground
|
#a3a3a3
|
#a3a3a3
|
-disabledtile
|
disabledTile
|
Tile
|
undef
|
|
-fg
|
foreground
|
|
|
|
-font
|
undef
|
undef
|
undef
|
Tk::Font=SCALAR(0x83649a0)
|
-foreground
|
foreground
|
Foreground
|
Black
|
Black
|
-height
|
height
|
Height
|
0
|
0
|
-highlightbackground
|
highlightBackground
|
HighlightBackground
|
#d9d9d9
|
#d9d9d9
|
-highlightcolor
|
highlightColor
|
HighlightColor
|
Black
|
Black
|
-highlightthickness
|
highlightThickness
|
HighlightThickness
|
1
|
1
|
-image
|
image
|
Image
|
undef
|
undef
|
-indicatoron
|
indicatorOn
|
IndicatorOn
|
0
|
1
|
-justify
|
justify
|
Justify
|
center
|
center
|
-menu
|
menu
|
Menu
|
|
Tk::Menu=HASH(0x86d748c)
|
-offset
|
offset
|
Offset
|
0 0
|
ARRAY(0x86ddfe0)
|
-options
|
undef
|
undef
|
undef
|
undef
|
-padx
|
padX
|
Pad
|
4p
|
4
|
-pady
|
padY
|
Pad
|
3p
|
3
|
-relief
|
relief
|
Relief
|
raised
|
raised
|
-state
|
state
|
State
|
normal
|
normal
|
-takefocus
|
takefocus
|
Takefocus
|
1
|
1
|
-text
|
text
|
Text
|
|
|
-textvariable
|
textVariable
|
Variable
|
|
SCALAR(0x82983a8)
|
-tile
|
tile
|
Tile
|
undef
|
|
-underline
|
underline
|
Underline
|
-1
|
-1
|
-variable
|
undef
|
undef
|
undef
|
undef
|
-width
|
width
|
Width
|
0
|
0
|
-wraplength
|
wrapLength
|
WrapLength
|
0
|
0
|
Copyright © 2002 O'Reilly & Associates. All rights reserved.
|
|