Menus
Properties that can be defined for this element:
Supports animations-types "slideIn" and "slideOut". Others are ignored.
Background color
Background image or gradient
The border that is drawn around menus.
The bottom side border for menus.
The left side border for menus.
Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.
The right side border for menus.
The top side border for menus.
The shadow behind the menu.
Menu text color
Menu font
The opacity of the menu. A value between 0 and 1.
Space between border and text / image
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to disabled menus.
Menu items
Properties that can be defined for this element:
Background color
Background image
Menu item text color
The opacity of the item. A value between 0 and 1.
Padding (inner distance) for menu items.
Shadow for text.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Style constant for cascade menu item behavior.
Style constant for check box menu item behavior.
Style constant for push menu item behavior.
Style constant for radio button menu item behavior.
Style constant for separator menu item behavior.
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies to disabled menu items.
On mouse over
Applies to menu items in the menu bar.
On mouse down and open submenu. Only for menu-bars.
Icon of the checkbox. Applies when the MenuItem has a SWT.CHECK style flag.
Properties that can be defined for this element:
The icon image. The maximum size of the image should be 16 x 16 pixels.
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies when the menu is disabled.
Icon of the radio-button. Applies when the MenuItem has a SWT.RADIO style flag.
Properties that can be defined for this element:
The icon image. The maximum size of the image should be 16 x 16 pixels.
none
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies when the menu is disabled.
The cascade icon. Applies when the MenuItem has a SWT.CASCADE style flag.
Properties that can be defined for this element:
The icon image. The maximum size of the image should be 16 x 16 pixels.
SWT style flags that can be referred to in a selector for this element (as CSS attributes):
Indicates that the menu is oriented right to left.
Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):
Applies when the menu is disabled.