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 ...

Get Mastering Perl/Tk now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.