Wt  4.10.4
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...
 
class  Wt::WLinkedCssStyleSheet
 An external CSS style sheet. More...
 

Enumerations

enum class  Wt::StandardColor {
  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

◆ StandardColor

enum Wt::StandardColor
strong

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.