Wt: Style classes

Wt 3.3.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

Classes | Enumerations
Style classes

Collection of classes for markup of widgets. More...

## Classes
class | Wt::WBorder
| A value class that defines the CSS border style of a widget. More...
class | Wt::WColor
| A value class that defines a color. More...
class | Wt::WCssDecorationStyle
| A style class for a single widget or style sheet rule. More...
class | Wt::WCssRule
| Abstract rule in a CSS style sheet. More...
class | Wt::WCssTemplateRule
| A CSS rule based on a template widget. More...
class | Wt::WCssTextRule
| A CSS rule specified directly using CSS declarations. More...
class | Wt::WCssStyleSheet
| A CSS style sheet. More...
class | Wt::WFont
| A value class that describes a font. More...
## Enumerations
enum | Wt::GlobalColor { Wt::white, Wt::black, Wt::red, Wt::darkRed, Wt::green, Wt::darkGreen, Wt::blue, Wt::darkBlue, Wt::cyan, Wt::darkCyan, Wt::magenta, Wt::darkMagenta, Wt::yellow, Wt::darkYellow, Wt::gray, Wt::darkGray, Wt::lightGray, Wt::transparent }
| Enumeration for predefined colors. More...

## Detailed Description

Collection of classes for markup of widgets.

The recommended way to provide style information for your Wt application is using CSS stylesheets. You may add rules to the inline style sheet using WCssStyleSheet::addRule(), or by linking one or more external stylesheets using WApplication::useStyleSheet().

Alternatively, you may also provide style information directly, using WCssDecorationStyle, which you can manipulate for each widget using WWidget::decorationStyle().

## Enumeration Type Documentation

enum Wt::GlobalColor

Enumeration for predefined colors.

Enumerator:

  white | Color white.
  black | Color black.
  red | Color red.
  darkRed | Color dark red.
  green | Color green.
  darkGreen | Color dark green.
  blue | Color blue.
  darkBlue | Color dark blue.
  cyan | Color cyan.
  darkCyan | Color dark cyan.
  magenta | Color magenta.
  darkMagenta | Color dark magenta.
  yellow | Color yellow.
  darkYellow | Color dark yellow.
  gray | Color medium gray.
  darkGray | Color dark gray.
  lightGray | Color light gray.
  transparent | Color transparent.

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator