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

Shell

SWT Shells (the window in SWT).

Available CSS Properties

Properties that can be defined for this element:

  • background-color : color definition

    Background color for shells.

  • border : border definition

    Outer window border.

  • padding : box dimension

    Padding around the shell's client area.

Applicable SWT Styles

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

  • [BORDER]

    Indicates that the shell should have a border.

  • [TITLE]

    Indicates that the shell should show it's title bar.

Applicable States

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

  • :inactive

    Applies for all shells except the active shell.

  • :maximized

    Applies for shells that are currently maximized.

Shell-Titlebar

The window titlebar. Only visible when the TITLE style is set.

Available CSS Properties

Properties that can be defined for this element:

  • background-color : color definition

    Background color for the title bar. Maps to system colors SWT.COLOR_TITLE_BACKGROUND and SWT.COLOR_TITLE_INACTIVE_BACKGROUND, respectively.

  • background-gradient-color : color definition

    Second background color for the title bar (currently ignored). Maps to system colors SWT.COLOR_TITLE_BACKGROUND_GRADIENT and SWT.COLOR_TITLE_INACTIVE_BACKGROUND_GRADIENT, respectively.

  • background-image : image url

    Background image for the title bar.

  • color : color definition

    Text color for the title bar.

  • font : font definition

    Font for the title bar.

  • height : dimension

    Height of the title bar.

  • margin : box dimension

    Margin for the title bar.

  • padding : box dimension

    Padding for the title bar.

Applicable SWT Styles

none

Applicable States

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

  • :inactive

    Applies for all shells except the active shell.

Shell-MinButton

The minimize button of a window. Only visible when the MIN style flag is set.

Available CSS Properties

Properties that can be defined for this element:

  • background-image : image url

    Image for the minimize button.

  • margin : box dimension

    Margin for the minimize button.

Applicable SWT Styles

none

Applicable States

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

  • :hover

    Applies for shell buttons on mouse-over.

  • :inactive

    Applies for shell buttons on inactive shells.

  • :maximized

    Applies for shell buttons on maximized shells.

Shell-MaxButton

The maximize/restore button of a window. Only visible when MAX style flag is set.

Available CSS Properties

Properties that can be defined for this element:

  • background-image : image url

    Background image for the shell maximize/restore button.

  • margin : box dimension

    Margin for the shell maximize/restore button.

Applicable SWT Styles

none

Applicable States

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

  • :hover

    Applies for shell buttons on mouse-over.

  • :inactive

    Applies for shell buttons on inactive shells.

  • :maximized

    Applies for shell buttons on maximized shells.

Shell-CloseButton

The close button of a window. Only visible when CLOSE style flag is set.

Available CSS Properties

Properties that can be defined for this element:

  • background-image : image url

    Background image for the shell close button.

  • margin : box dimension

    Margin for the shell close button.

Applicable SWT Styles

none

Applicable States

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

  • :hover

    Applies for shell buttons on mouse-over.

  • :inactive

    Applies for shell buttons on inactive shells.

  • :maximized

    Applies for shell buttons on maximized shells.


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