RWT Theming Reference > ToolTip

## ToolTip

ToolTip widgets represent popup windows that are used to inform or warn the user

### Available CSS Properties

Properties that can be defined for this element:

- animation

  Supports animations-types "fadeIn" and "fadeOut". Others are ignored.

- background-color

  Background color

- background-image

  Background image or gradient for tooltip widget.

- border

  Border for text tooltip widget.

- border-radius

  Border radius. The border radius has no effect if an enhanced border, like "inset" or "outset" is used.

- box-shadow

  The shadow behind the tooltip.

- color

  Text color

- cursor

  The cursor for the tooltip

- font

  Text font for tooltips.

- opacity

  The opacity of the tooltip widget. A value between 0 and 1.

- padding

  Padding for tooltip widget.

### Applicable SWT Styles

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

- [BALLOON]

  Style constant for balloon behavior.

- [ICON_ERROR]

  The image used for ToolTips with style SWT#ICON_ERROR.

- [ICON_INFORMATION]

  The image used for ToolTips with style SWT#ICON_INFORMATION.

- [ICON_WARNING]

  The image used for ToolTips with style SWT#ICON_WARNING.

### Applicable States

none

## ToolTip-Image

The image area.

### Available CSS Properties

Properties that can be defined for this element:

- background-image

  The image URL

### Applicable SWT Styles

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

- [ICON_ERROR]

  The image used for ToolTips with style SWT#ICON_ERROR.

- [ICON_INFORMATION]

  The image used for ToolTips with style SWT#ICON_INFORMATION.

- [ICON_WARNING]

  The image used for ToolTips with style SWT#ICON_WARNING.

### Applicable States

none

## ToolTip-Text

The title text area.

### Available CSS Properties

Properties that can be defined for this element:

- color

  Text message color

- font

  Text font

### Applicable SWT Styles

none

### Applicable States

none

## ToolTip-Message

The message area.

### Available CSS Properties

Properties that can be defined for this element:

- color

  Text message color

- font

  Text font

### Applicable SWT Styles

none

### Applicable States

none