Menubutton

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
-cursor
cursor
Cursor
undef
-direction
direction
Direction
below
below
-disabledforeground
disabledForeground
DisabledForeground
#a3a3a3
#a3a3a3
-disabledtile
disabledTile
Tile
undef
-fg
foreground
-font
font
Font
Helvetica -12 bold
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
0
0
-image
image
Image
undef
undef
-indicatoron
indicatorOn
IndicatorOn
0
0
-justify
justify
Justify
center
center
-menu
menu
Menu
undef
-padx
padX
Pad
4p
4
-pady
padY
Pad
3p
3
-offset
offset
Offset
0 0
ARRAY(0x86a7050)
-relief
relief
Relief
flat
flat
-state
state
State
normal
normal
-takefocus
takeFocus
TakeFocus
0
0
-text
text
Text
-textvariable
textVariable
Variable
undef ...

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.