Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RWT Theming Reference > Menu

Menu

Menus

Available CSS Properties

Properties that can be defined for this element:

  • background-color : color definition

    Background color

  • border : border definition

    Menu border

  • color : color definition

    Menu text color

  • font : font definition

    Menu font

  • padding : box dimension

    Space between border and text / image

Applicable SWT Styles

none

Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

  • :disabled

    Applies to disabled menus.

MenuItem

Menu items

Available CSS Properties

Properties that can be defined for this element:

  • background-color : color definition

    Background color

  • color : color definition

    Menu item text color

Applicable SWT Styles

SWT style flags that can be referred to in a selector for this element (as CSS attributes):

  • [CASCADE]

    Style constant for cascade menu item behavior.

  • [CHECK]

    Style constant for check box menu item behavior.

  • [PUSH]

    Style constant for push menu item behavior.

  • [RADIO]

    Style constant for radio button menu item behavior.

  • [SEPARATOR]

    Style constant for separator menu item behavior.

Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

  • :disabled

    Applies to disabled menu items.

  • :hover

    On mouse over

MenuItem-CheckIcon

Icon of the checkbox. Applies when the MenuItem has a SWT.CHECK style flag.

Available CSS Properties

Properties that can be defined for this element:

  • background-image : image url

    The icon image. The maximum size of the image should be 16 x 16 pixels.

Applicable SWT Styles

none

Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

  • :disabled

    Applies when the menu is disabled.

MenuItem-RadioIcon

Icon of the radio-button. Applies when the MenuItem has a SWT.RADIO style flag.

Available CSS Properties

Properties that can be defined for this element:

  • background-image : image url

    The icon image. The maximum size of the image should be 16 x 16 pixels.

Applicable SWT Styles

none

Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

  • :disabled

    Applies when the menu is disabled.

MenuItem-CascadeIcon

The cascade icon. Applies when the MenuItem has a SWT.CASCADE style flag.

Available CSS Properties

Properties that can be defined for this element:

  • background-image : image url

    The icon image. The maximum size of the image should be 16 x 16 pixels.

Applicable SWT Styles

none

Applicable States

Widget states that can be referred to in a selector for this element (as CSS pseudo-classes):

  • :disabled

    Applies when the menu is disabled.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire