Wt  4.11.1
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
Wt Namespace Reference

The namespace for Wt. More...

Namespaces

 Auth
 Namespace for the Authentication module (Wt::Auth).
 
 Chart
 Namespace for the Charts (Wt::Chart).
 
 Core
 Namespace for core utility classes.
 
 Dbo
 Namespace for the Database Objects (Wt::Dbo).
 
 Form
 Namespace for the Dbo Forms (Wt::Form).
 
 Http
 Namespace for HTTP protocol (Wt::Http) handling.
 
 Json
 Namespace for the JSON Library (Wt::Json).
 
 Mail
 Namespace for the SMTP client library (Wt::Mail).
 
 Payment
 Namespace for the Payment.
 
 Render
 Namespace for the XHTML Rendering (Wt::Render).
 
 Utils
 Namespace with utility functions.
 

Classes

class  WInvalidFormatException
 The exception thrown when a supplied format was not correct. More...
 
class  WInvalidOperationException
 The exception thrown when an numeric operation could not execute. More...
 
class  PopupWindow
 Internal class that provides a JavaScript popup window managing function. More...
 
class  WAbstractArea
 Abstract base class for interactive areas in a widget. More...
 
class  WAbstractItemDelegate
 Abstract delegate class for rendering an item in an item view. More...
 
class  WAbstractItemModel
 An abstract model for use with Wt's view classes. More...
 
class  WAbstractItemView
 An abstract base class for item Views. More...
 
class  WAbstractListModel
 An abstract list model for use with Wt's view classes. More...
 
class  WAbstractMedia
 Abstract baseclass for native media elements. More...
 
class  WAbstractProxyModel
 An abstract proxy model for Wt's item models. More...
 
class  WAbstractSpinBox
 An abstract spin box. More...
 
class  WAbstractTableModel
 An abstract table model for use with Wt's view classes. More...
 
class  WAbstractToggleButton
 An abstract base class for radio buttons and check boxes. More...
 
class  WAggregateProxyModel
 A proxy model for Wt's item models that provides column aggregation. More...
 
class  WAnchor
 A widget that represents an HTML anchor (to link to other documents). More...
 
class  WAnimation
 A value class that defines a transition effect. More...
 
struct  any_traits
 A traits class for a type stored in a cpp17::any. More...
 
class  WApplication
 Represents an application instance for a single session. More...
 
class  WAudio
 A widget that plays audio. More...
 
class  WBatchEditProxyModel
 A proxy model for Wt's item models that provides batch editing. More...
 
class  WBootstrap2Theme
 Theme based on the Twitter Bootstrap 2 CSS framework. More...
 
class  WBootstrap3Theme
 Theme based on the Twitter Bootstrap 3 CSS framework. More...
 
class  WBootstrap5Theme
 Theme based on the Bootstrap 5 CSS framework. More...
 
class  WBootstrapTheme
 Theme based on the Twitter Bootstrap CSS framework. More...
 
class  WBorder
 A value class that defines the CSS border style of a widget. More...
 
class  WBorderLayout
 A layout manager which divides the container region in five regions. More...
 
class  WBoxLayout
 A layout manager which arranges widgets horizontally or vertically. More...
 
class  WBreak
 A widget that provides a line break between inline widgets. More...
 
class  WBrush
 A value class that defines the style for filling a path. More...
 
class  WButtonGroup
 A class for grouping radio buttons logically together. More...
 
class  WCalendar
 A calendar. More...
 
class  WCanvasPaintDevice
 A paint device for rendering using the HTML 5 <canvas> element. More...
 
class  WCheckBox
 A user control that represents a check box. More...
 
class  WCircleArea
 A interactive area in a widget, specified by a circle. More...
 
class  WColor
 A value class that defines a color. More...
 
class  WColorPicker
 A widget that provides a browser-native color picker. More...
 
class  WCombinedLocalizedStrings
 A localized string resolver that bundles multiple string resolvers. More...
 
class  WComboBox
 A widget that provides a drop-down combo-box control. More...
 
class  WCompositeWidget
 A widget that hides the implementation of composite widgets. More...
 
class  WContainerWidget
 A widget that holds and manages child widgets. More...
 
class  WCssDecorationStyle
 A style class for a single widget or style sheet rule. More...
 
class  WCssRule
 Abstract rule in a CSS style sheet. More...
 
class  WCssTemplateRule
 A CSS rule based on a template widget. More...
 
class  WCssTextRule
 A CSS rule specified directly using CSS declarations. More...
 
class  WCssStyleSheet
 A CSS style sheet. More...
 
class  WCssTheme
 
class  WDate
 A value class that represents a date on the Gregorian calendar. More...
 
class  WDateEdit
 A date edit. More...
 
class  WDatePicker
 A date picker. More...
 
class  WDateTime
 A calendar date and clock time. More...
 
class  WDateValidator
 A validator for date input. More...
 
class  WDefaultLoadingIndicator
 A default loading indicator. More...
 
class  WDialog
 A WDialog shows a dialog. More...
 
class  WDoubleSpinBox
 An input control for fixed point numbers. More...
 
class  WDoubleValidator
 A validator for validating floating point user input. More...
 
class  WEmailEdit
 A widget for inputting email addresses. More...
 
class  WEmailValidator
 A basic validator for email input. More...
 
class  WEnvironment
 A class that captures information on the application environment. More...
 
struct  Coordinates
 A coordinate. More...
 
class  Touch
 A single finger touch of a touch event. More...
 
class  EventSignal
 A signal that conveys user-interface events. More...
 
class  WEvent
 An application event. More...
 
class  WMouseEvent
 A class providing details for a mouse event. More...
 
class  WKeyEvent
 A class providing details for a keyboard event. More...
 
class  WDropEvent
 A class providing details for a drop event. More...
 
class  WScrollEvent
 A class providing details for a scroll event. More...
 
class  WTouchEvent
 A class providing details for a touch event. More...
 
class  WGestureEvent
 A class providing details for a gesture event. More...
 
class  WException
 Base class for exceptions thrown by Wt. More...
 
class  WFileDropWidget
 A widget that allows dropping files and directories for upload. More...
 
class  WFileResource
 A resource which streams the data from a local file. More...
 
class  WFileUpload
 A widget that allows a file to be uploaded. More...
 
class  WFitLayout
 A layout manager which spans a single widget to all available space. More...
 
class  WFlags
 Utility class for type-safe combinations of enumeration flags. More...
 
class  WFlashObject
 A widget that renders a Flash object (also known as Flash movie). More...
 
class  WFont
 A value class that describes a font. More...
 
class  WFontMetrics
 A value class that describes font metrics for a font. More...
 
class  WFormModel
 A basic model class for forms. More...
 
class  WFormWidget
 An abstract widget that corresponds to an HTML form element. More...
 
class  WGenericMatrix
 A value class that describes a matrix. More...
 
class  WGLWidget
 GL support class. More...
 
class  WGoogleMap
 A widget that displays a google map. More...
 
class  WGradient
 A linear or radial gradient. More...
 
class  WGridLayout
 A layout manager which arranges widgets in a grid. More...
 
class  WGroupBox
 A widget which group widgets into a frame with a title. More...
 
class  WHBoxLayout
 A layout manager which arranges widgets horizontally. More...
 
class  WIconPair
 A widget that shows one of two icons depending on its state. More...
 
class  WIdentityProxyModel
 A proxy model that proxies its source model unmodified. More...
 
class  WImage
 A widget that displays an image. More...
 
class  WInPlaceEdit
 A widget that provides in-place-editable text. More...
 
class  WInteractWidget
 An abstract widget that can receive user-interface interaction. More...
 
class  WIntValidator
 A validator that validates integer user input. More...
 
class  WIOService
 An I/O service. More...
 
class  WItemDelegate
 Standard delegate class for rendering a view item. More...
 
class  WItemSelectionModel
 A class that represents a selection for a WAbstractItemView. More...
 
class  JSignal
 A signal to relay JavaScript to C++ calls. More...
 
class  WJavaScriptExposableObject
 A JavaScript exposable object. More...
 
class  WJavaScriptHandle
 A handle to a JavaScript representation of an object. More...
 
class  JSlot
 A slot that is only implemented in client side JavaScript code. More...
 
class  WLabel
 A label for a form field. More...
 
class  WLayout
 An abstract base class for layout managers. More...
 
class  WLayoutImpl
 An abstract base class for implementing layout managers. More...
 
class  WLayoutItem
 An abstract base class for items that can participate in a layout. More...
 
class  WLayoutItemImpl
 An abstract base class for implementing layout managers. More...
 
class  WLeafletMap
 A widget that displays a leaflet map. More...
 
class  WLength
 A value class that describes a CSS length. More...
 
class  WLengthValidator
 A validator that checks the string length of user input. More...
 
class  WLineEdit
 A widget that provides a single line edit. More...
 
class  WLineF
 Utility class that defines a single line. More...
 
class  WLink
 A value class that defines a hyperlink target. More...
 
class  WLinkedCssStyleSheet
 An external CSS style sheet. More...
 
class  WLoadingIndicator
 An abstract interface for a loading indicator. More...
 
class  WLocalDateTime
 A localized calendar date and clock time. More...
 
class  WLocale
 A locale. More...
 
class  LocalizedString
 The result of resolving a localized string. More...
 
class  WLocalizedStrings
 An abstract class that provides support for localized strings. More...
 
class  WLogger
 A simple logging class. More...
 
class  WLogEntry
 A stream-like object for creating an entry in a log file. More...
 
class  WLogSink
 An abstract log sink. More...
 
class  WMatrix4x4
 A value class that describes a 3D affine transformation matrix. More...
 
class  WMeasurePaintDevice
 WMeasurePaintDevice Wt/WMeasurePaintDevice Wt/WMeasurePaintDevice. More...
 
class  WMediaPlayer
 A media player. More...
 
class  WMemoryResource
 A resource which streams data from memory. More...
 
class  WMenu
 A widget that shows a menu of options. More...
 
class  WMenuItem
 A single item in a menu. More...
 
class  WMessageBox
 A standard dialog for confirmation or to get simple user input. More...
 
class  WMessageResourceBundle
 Support for localized strings using XML files. More...
 
class  ItemDataRole
 Enumeration that indicates a role for a data item. More...
 
class  WModelIndex
 A value class that describes an index to an item in a data model. More...
 
class  WNavigationBar
 A navigation bar. More...
 
class  WObject
 A base class for objects that participate in the signal/slot system. More...
 
class  WOverlayLoadingIndicator
 A more obvious loading indicator that grays the window. More...
 
class  WTextItem
 The result of a font metrics computation. More...
 
class  WPaintDevice
 The abstract base class for a paint device. More...
 
class  WPaintedWidget
 A widget that is painted using vector graphics. More...
 
class  WPainter
 Vector graphics painting class. More...
 
class  WPainterPath
 A path defining a shape. More...
 
class  WPanel
 A WPanel provides a container with a title bar. More...
 
class  WPdfImage
 A paint device for rendering to a PDF. More...
 
class  WPen
 A value class that defines the style for pen strokes. More...
 
class  WPoint
 A value class that defines a 2D point with integer coordinates. More...
 
class  WPointF
 A value class that defines a 2D point. More...
 
class  WPolygonArea
 An interactive area in a widget, specified by a polygon. More...
 
class  WPopupMenu
 A menu presented in a popup window. More...
 
class  WPopupWidget
 Base class for popup widgets. More...
 
class  WProgressBar
 A progress bar. More...
 
class  WPushButton
 A widget that represents a push button. More...
 
class  WRadioButton
 A user control that represents a radio button. More...
 
class  WRandom
 Random number generator. More...
 
class  WRasterImage
 A paint device for rendering to a raster image. More...
 
class  WReadOnlyProxyModel
 A read-only wrapper for a source model. More...
 
class  WRectArea
 A interactive area in a widget, specified by a rectangle. More...
 
class  WRectF
 A value class that defines a rectangle. More...
 
class  WRegExpValidator
 A validator that checks user input against a regular expression. More...
 
class  WResource
 An object which can be rendered in the HTTP protocol. More...
 
class  WSelectionBox
 A selection box allows selection from a list of options. More...
 
class  WServer
 A class encapsulating a web application server. More...
 
class  WShadow
 A value class that defines a shadow style. More...
 
class  SignalBase
 Abstract base class of a signal. More...
 
class  Signal
 A signal that propagates events to listeners. More...
 
class  EventSignalBase
 Abstract base class of an event signal. More...
 
class  WSlider
 A horizontal or vertical slider control. More...
 
class  WSocketNotifier
 A utility class for asynchronous notification of socket activity. More...
 
class  WSortFilterProxyModel
 A proxy model for Wt's item models that provides filtering and/or sorting. More...
 
class  WSound
 A value class to play a sound effect. More...
 
class  WSpinBox
 An input control for integer numbers. More...
 
class  WSplitButton
 A split button. More...
 
class  WSslCertificate
 An interface to an SSL certificate. More...
 
class  WSslInfo
 Provides SSL information about the current session. More...
 
class  WStackedWidget
 A container widget that stacks its widgets on top of each other. More...
 
class  WStandardItem
 An item in a WStandardItemModel. More...
 
class  WStandardItemModel
 A standard data model, which stores its data in memory. More...
 
class  WStreamResource
 An object which streams the data from a std::istream. More...
 
class  WString
 A value class which describes a locale-aware unicode string. More...
 
class  WStringListModel
 An model that manages a list of strings. More...
 
class  WStringStream
 
class  WSuggestionPopup
 A widget which popups to assist in editing a textarea or lineedit. More...
 
class  WSvgImage
 A paint device for rendering using Scalable Vector Graphics (SVG). More...
 
class  WTable
 A container widget which provides layout of children in a table grid. More...
 
class  WTableCell
 A container widget that represents a cell in a table. More...
 
class  WTableColumn
 A table column. More...
 
class  WTableRow
 A table row. More...
 
class  WTableView
 An MVC View widget for tabular data. More...
 
class  WTabWidget
 A widget that organizes contents in tab panes. More...
 
class  WTemplate
 A widget that renders an XHTML template. More...
 
class  WTemplateFormView
 A template-based View class for form models. More...
 
class  WText
 A widget that renders (XHTML) text. More...
 
class  WTextArea
 A widget that provides a multi-line edit. More...
 
class  WTextEdit
 A rich-text XHTML editor. More...
 
class  WTheme
 
class  WTime
 A value class that defines a clock time. More...
 
class  WTimeEdit
 A Time field editor. More...
 
class  WTimer
 A utility class which provides timer signals and single-shot timers. More...
 
class  WTimeValidator
 A time validator. More...
 
class  WToolBar
 A toolbar. More...
 
class  WTransform
 A value class that defines a 2D affine transformation matrix. More...
 
class  WTree
 A widget that represents a navigatable tree. More...
 
class  WTreeNode
 A single node in a tree. More...
 
class  WTreeTable
 A table with a navigatable tree in the first column. More...
 
class  WTreeTableNode
 A specialized tree node which allows additional data to be associated with each node. More...
 
class  WTreeView
 A view class that displays a model as a tree or tree table. More...
 
class  WValidator
 A validator is used to validate user input according to pre-defined rules. More...
 
class  WVBoxLayout
 A layout manager which arranges widgets vertically. More...
 
class  WVectorImage
 An abstract paint device for rendering using native vector graphics. More...
 
class  WVideo
 A video-playing widget. More...
 
class  WViewWidget
 An abstract base class for an MVC view that is rendered using a widget. More...
 
class  WStaticModelView
 A widget that implements a view for a non-changing model. More...
 
class  WVirtualImage
 An abstract widget that shows a viewport to a virtually large image. More...
 
class  WVmlImage
 A paint device for rendering using the VML pseudo-standard. More...
 
class  WWebSocketConnection
 A single connection to a WWebSocketResource. More...
 
class  WWebSocketResource
 A resource that manages a WebSocket endpoint. More...
 
class  WWebWidget
 A base class for widgets with an HTML counterpart. More...
 
class  WWidget
 The abstract base class for a user-interface component. More...
 
class  WWidgetItem
 A layout item that holds a single widget. More...
 
class  WWidgetItemImpl
 An abstract base class for implementing layout managers. More...
 
struct  PathSegment
 
class  DomElement
 Class to represent a client-side DOM element (proxy). More...
 

Typedefs

typedef std::set< WModelIndexWModelIndexSet
 A set of WModelIndexes.
 
typedef std::vector< WModelIndexWModelIndexList
 List of indexes. More...
 

Enumerations

enum class  ViewItemRenderFlag { Selected = 0x1 , Editing = 0x2 , Focused = 0x4 , Invalid = 0x8 }
 Enumeration that specifies an option for rendering a view item. More...
 
enum class  EditTrigger { None = 0x0 , SingleClicked = 0x1 , DoubleClicked = 0x2 , SelectedClicked = 0x4 }
 Enumeration that specifies the user action that triggers editing. More...
 
enum class  EditOption { SingleEditor = 0x1 , MultipleEditors = 0x2 , SaveWhenClosed = 0x4 , LeaveEditorsOpen = 0x8 }
 Enumeration that specifies editing options. More...
 
enum class  ScrollHint { EnsureVisible , PositionAtTop , PositionAtBottom , PositionAtCenter }
 Enumeration that specifies a scrolling option. More...
 
enum class  DropLocation { OnItem = 0x1 , BetweenRows = 0x2 }
 Enumeration that specifies the possible drop locations for drag/drop. More...
 
enum class  PlayerOption { Autoplay = 1 , Loop = 2 , Controls = 4 }
 Enumeration for playback options. More...
 
enum class  MediaPreloadMode { None , Auto , Metadata }
 Enumeration for preload strategy. More...
 
enum class  AnimationEffect {
  SlideInFromLeft = 0x1 , SlideInFromRight = 0x2 , SlideInFromBottom = 0x3 , SlideInFromTop = 0x4 ,
  Pop = 0x5 , Fade = 0x100
}
 An enumeration describing an animation effect. More...
 
enum class  TimingFunction {
  Ease , Linear , EaseIn , EaseOut ,
  EaseInOut , CubicBezier
}
 A timing function. More...
 
enum class  BootstrapVersion { v2 = 2 , v3 = 3 }
 Enumeration to select a bootstrap version. More...
 
enum class  BorderWidth { Thin , Medium , Thick , Explicit }
 Enumeration for border width. More...
 
enum class  BorderStyle {
  None , Hidden , Dotted , Dashed ,
  Solid , Double , Groove , Ridge ,
  Inset , Outset
}
 Enumeration for border style. More...
 
enum class  LayoutPosition {
  North , East , South , West ,
  Center
}
 Enumeration of possible positions in the layout. More...
 
enum class  CalendarHeaderFormat { SingleLetterDayNames , ShortDayNames , LongDayNames }
 The calendar header format. More...
 
enum class  Overflow { Visible =0x0 , Auto =0x1 , Hidden =0x2 , Scroll =0x3 }
 How to handle overflow of inner content. More...
 
enum class  TextDecoration { Underline = 0x1 , Overline = 0x2 , LineThrough = 0x4 , Blink = 0x8 }
 Text decoration options. More...
 
enum class  DialogCode { Rejected , Accepted }
 The result of a modal dialog execution. More...
 
enum class  UserAgent {
  Unknown = 0 , IEMobile = 1000 , IE6 = 1001 , IE7 = 1002 ,
  IE8 = 1003 , IE9 = 1004 , IE10 = 1005 , IE11 = 1006 ,
  Edge = 1100 , Opera = 3000 , Opera10 = 3010 , WebKit = 4000 ,
  Safari = 4100 , Safari3 = 4103 , Safari4 = 4104 , Chrome0 = 4200 ,
  Chrome1 = 4201 , Chrome2 = 4202 , Chrome3 = 4203 , Chrome4 = 4204 ,
  Chrome5 = 4205 , Arora = 4300 , MobileWebKit = 4400 , MobileWebKitiPhone = 4450 ,
  MobileWebKitAndroid = 4500 , Konqueror = 5000 , Gecko = 6000 , Firefox = 6100 ,
  Firefox3_0 = 6101 , Firefox3_1 = 6102 , Firefox3_1b = 6103 , Firefox3_5 = 6104 ,
  Firefox3_6 = 6105 , Firefox4_0 = 6106 , Firefox5_0 = 6107 , BotAgent = 10000
}
 An enumeration type for specific user agent. More...
 
enum class  HtmlContentType { XHTML1 , HTML4 , HTML5 }
 Enumeration for HTML content type. More...
 
enum class  MouseButton { None = 0 , Left = 1 , Middle = 2 , Right = 4 }
 Enumeration for the mouse button. More...
 
enum class  FilePickerType { FileSelection , DirectorySelection }
 Enumeration of file picker types. More...
 
enum class  FontFamily {
  Default , Serif , SansSerif , Cursive ,
  Fantasy , Monospace
}
 The generic font family. More...
 
enum class  FontStyle { Normal , Italic , Oblique }
 The font style. More...
 
enum class  FontVariant { Normal , SmallCaps }
 The font variant. More...
 
enum class  FontWeight {
  Normal , Bold , Bolder , Lighter ,
  Value
}
 The font weight. More...
 
enum class  FontSize {
  XXSmall , XSmall , Small , Medium ,
  Large , XLarge , XXLarge , Smaller ,
  Larger , FixedSize
}
 The font size. More...
 
enum class  Orientation { Horizontal = 0x1 , Vertical = 0x2 }
 Enumeration that indicates a direction. More...
 
enum class  StandardButton {
  None = 0x00 , Ok = 0x01 , Cancel = 0x02 , Yes = 0x04 ,
  No = 0x08 , Abort = 0x10 , Retry = 0x20 , Ignore = 0x40 ,
  YesAll = 0x80 , NoAll = 0x100
}
 Enumeration that indicates a standard button. More...
 
enum class  Icon {
  None = 0 , Information = 1 , Warning = 2 , Critical = 3 ,
  Question = 4
}
 Enumeration that indiciates a standard icon. More...
 
enum class  SelectionMode { None = 0 , Single = 1 , Extended = 3 }
 Enumeration that indicates how items may be selected. More...
 
enum class  SelectionBehavior { Items = 0 , Rows = 1 }
 Enumeration that indicates what is being selected. More...
 
enum class  SelectionFlag { Select = 1 , Deselect = 2 , ToggleSelect = 3 , ClearAndSelect = 4 }
 Enumeration that indicates how to change a selection. More...
 
enum class  Side {
  Top = 0x1 , Bottom = 0x2 , Left = 0x4 , Right = 0x8 ,
  CenterX = 0x10 , CenterY = 0x20
}
 Enumeration that indicates a relative location. More...
 
enum class  AlignmentFlag {
  Left =0x1 , Right =0x2 , Center =0x4 , Justify =0x8 ,
  Baseline =0x10 , Sub =0x20 , Super =0x40 , Top =0x80 ,
  TextTop =0x100 , Middle =0x200 , Bottom =0x400 , TextBottom =0x800
}
 Enumeration that specifies a horizontal or a vertical alignment. More...
 
enum class  TextFlag { SingleLine , WordWrap }
 Enumeration that specifies the way text should be printed. More...
 
enum class  PositionScheme { Static , Relative , Absolute , Fixed }
 Enumeration that specifies a layout mechanism for a widget. More...
 
enum class  Cursor {
  Arrow , Auto , Cross , PointingHand ,
  OpenHand , Wait , IBeam , WhatsThis
}
 Enumeration for a cursor style. More...
 
enum class  CharEncoding
 Enumeration that indicates a character encoding. More...
 
enum class  PenStyle {
  None , SolidLine , DashLine , DotLine ,
  DashDotLine , DashDotDotLine
}
 Enumeration that indicates a pen style. More...
 
enum class  PenCapStyle { Flat , Square , Round }
 Enumeration that indicates how line end points are rendered. More...
 
enum class  PenJoinStyle { Miter , Bevel , Round }
 Enumeration that indicates how line joins are rendered. More...
 
enum class  BrushStyle { None , Solid , Gradient }
 Enumeration that indicates a fill style. More...
 
enum class  GradientStyle { Linear , Radial }
 Enumeration that indicates a gradient style. More...
 
enum class  LinkTarget { Self , ThisWindow , NewWindow , Download }
 Enumeration that specifies where the target of an anchor should be displayed. More...
 
enum class  TextFormat { XHTML , UnsafeXHTML , Plain }
 Enumeration that indicates the text format. More...
 
enum class  StandardColor {
  White , Black , Red , DarkRed ,
  Green , DarkGreen , Blue , DarkBlue ,
  Cyan , DarkCyan , Magenta , DarkMagenta ,
  Yellow , DarkYellow , Gray , DarkGray ,
  LightGray , Transparent
}
 Enumeration for predefined colors. More...
 
enum class  KeyboardModifier {
  None = 0x0 , Shift = 0x1 , Control = 0x2 , Alt = 0x4 ,
  Meta = 0x8
}
 Enumeration for keyboard modifiers. More...
 
enum class  Key {
  Unknown = 0 , Enter = 13 , Tab = 9 , Backspace = 8 ,
  Shift = 16 , Control = 17 , Alt = 18 , PageUp = 33 ,
  PageDown = 34 , End = 35 , Home = 36 , Left = 37 ,
  Up = 38 , Right = 39 , Down = 40 , Insert = 45 ,
  Delete = 46 , Escape = 27 , F1 = 112 , F2 = 113 ,
  F3 = 114 , F4 = 115 , F5 = 116 , F6 = 117 ,
  F7 = 118 , F8 = 119 , F9 = 120 , F10 = 121 ,
  F11 = 122 , F12 = 123 , Space = ' ' , A = 'A' ,
  B = 'B' , C = 'C' , D = 'D' , E = 'E' ,
  F = 'F' , G = 'G' , H = 'H' , I = 'I' ,
  J = 'J' , K = 'K' , L = 'L' , M = 'M' ,
  N = 'N' , O = 'O' , P = 'P' , Q = 'Q' ,
  R = 'R' , S = 'S' , T = 'T' , U = 'U' ,
  V = 'V' , W = 'W' , X = 'X' , Y = 'Y' ,
  Z = 'Z' , Key_1 = '1' , Key_2 = '2' , Key_3 = '3' ,
  Key_4 = '4' , Key_5 = '5' , Key_6 = '6' , Key_7 = '7' ,
  Key_8 = '8' , Key_9 = '9' , Key_0 = '0'
}
 Enumeration for key codes. More...
 
enum class  CheckState { Unchecked , PartiallyChecked , Checked }
 Enumeration for the check state of a check box. More...
 
enum class  PaintFlag { Update = 0x1 }
 Enumeration that indicates how to change a selection. More...
 
enum class  EntryPointType { Application , WidgetSet , StaticResource }
 Enumeration that indicates a Wt entrypoint type. More...
 
enum class  RenderFlag
 Enum for internal use.
 
enum class  MatchFlag {
  Exactly = 0x0 , StringExactly = 0x1 , StartsWith = 0x2 , EndsWith = 0x3 ,
  RegExp = 0x4 , WildCard = 0x5 , CaseSensitive = 0x10 , Wrap = 0x20
}
 Flags that specify how to match two values. More...
 
enum class  HeaderFlag {
  ColumnIsCollapsed = 0x1 , ColumnIsExpandedLeft = 0x2 , ColumnIsExpandedRight = 0x4 , UserCheckable = 0x8 ,
  Tristate = 0x10 , XHTMLText = 0x40
}
 Flags that indicate table header options. More...
 
enum class  MetaHeaderType { Meta , Property , HttpHeader }
 Enumeration that indicates a meta header type. More...
 
enum class  EventType { Other , User , Timer , Resource }
 An enumeration describing an event's type. More...
 
enum class  LayoutDirection { LeftToRight , RightToLeft , TopToBottom , BottomToTop }
 An enumeration describing a layout direction. More...
 
enum class  ContentLoading { Lazy , Eager , NextLevel }
 Enumeration that determines when contents should be loaded. More...
 
enum class  MediaReadyState {
  HaveNothing = 0 , HaveMetaData = 1 , HaveCurrentData = 2 , HaveFutureData = 3 ,
  HaveEnoughData = 4
}
 Enumeration that indicates how much of (a media) is loaded. More...
 
enum class  RegExpFlag { MatchCaseInsensitive = 0x1 }
 Enumeration that indicates a regular expression option. More...
 
enum class  GLRenderOption { ClientSide = 0x1 , ServerSide = 0x2 , AntiAliasing = 0x4 }
 Enumeration for render options. More...
 
enum class  GLClientSideRenderer { PAINT_GL = 0x1 , RESIZE_GL = 0x2 , UPDATE_GL = 0x4 }
 Specifies what GL function needs to be updated. More...
 
enum class  GoogleMapsVersion { v3 }
 Google Maps API version. More...
 
enum class  MapTypeControl {
  None , Default , Menu , Hierarchical ,
  HorizontalBar
}
 Google Maps map type control. More...
 
enum class  LayoutImplementation { Flex , JavaScript }
 Enumeration to indicate which layout implementation to use. More...
 
enum class  LengthUnit {
  FontEm , FontEx , Pixel , Inch ,
  Centimeter , Millimeter , Point , Pica ,
  Percentage , ViewportWidth , ViewportHeight , ViewportMin ,
  ViewportMax
}
 CSS length unit type. More...
 
enum class  EchoMode { Normal , Password }
 Enumeration that describes how the contents is displayed. More...
 
enum class  InputMaskFlag { KeepMaskWhileBlurred = 0x1 }
 Enumeration that describes options for input masks. More...
 
enum class  LinkType { Url , Resource , InternalPath }
 An enumeration for a link type. More...
 
enum class  MediaEncoding {
  PosterImage , MP3 , M4A , OGA ,
  WAV , WEBMA , FLA , M4V ,
  OGV , WEBMV , FLV
}
 An enumeration for a media encoding. More...
 
enum class  MediaType { Audio , Video }
 An enumeration for a media type. More...
 
enum class  MediaPlayerButtonId {
  VideoPlay , Play , Pause , Stop ,
  VolumeMute , VolumeUnmute , VolumeMax , FullScreen ,
  RestoreScreen , RepeatOn , RepeatOff
}
 An enumeration for a button function. More...
 
enum class  MediaPlayerProgressBarId { Time , Volume }
 An enumeration for a progressbar function. More...
 
enum class  MediaPlayerTextId { CurrentTime , Duration , Title }
 An enumeration for a text. More...
 
enum class  ItemFlag {
  Selectable = 0x1 , Editable = 0x2 , UserCheckable = 0x4 , DragEnabled = 0x8 ,
  DropEnabled = 0x10 , Tristate = 0x20 , XHTMLText = 0x40 , Dirty = 0x80 ,
  DeferredToolTip = 0x100
}
 Flags that indicate data item options. More...
 
enum class  SortOrder { Ascending , Descending }
 Enumeration that indicates a sort order. More...
 
enum class  DropAction { Copy = 0x1 , Move = 0x2 }
 Enumeration that indicates a drop action. More...
 
enum class  PainterChangeFlag {
  Pen = 0x1 , Brush = 0x2 , Font = 0x4 , Hints = 0x8 ,
  Transform = 0x10 , Clipping = 0x20 , Shadow = 0x40
}
 Enumeration to communicate painter state changes. More...
 
enum class  PaintDeviceFeatureFlag { WordWrap = 0x1 , FontMetrics = 0x2 }
 Enumeration to indicate paint device features. More...
 
enum class  RenderMethod { InlineSvgVml , HtmlCanvas , PngImage }
 Enumeration that indicates a client-side rendering method for a painted widget. More...
 
enum class  RenderHint { Antialiasing = 0x1 , LowQualityShadows = 0x2 }
 Enumeration for render hints. More...
 
enum  SegmentType {
  MoveTo = 0 , LineTo = 1 , CubicC1 = 2 , CubicC2 = 3 ,
  CubicEnd = 4 , QuadC = 5 , QuadEnd = 6 , ArcC = 7 ,
  ArcR = 8 , ArcAngleSweep = 9
}
 
enum class  ContentDisposition { None , Attachment , Inline }
 Values for the disposition type in the Content-Disposition header. More...
 
enum class  PopupTrigger { Editing = 0x1 , DropDownIcon = 0x2 }
 Enumeration that defines a trigger for showing the popup. More...
 
enum class  TemplateWidgetIdMode { None , SetObjectName , SetId }
 Enumeration that indicates how a widget's ID may be set. More...
 
enum  WidgetThemeRole
 Enumeration for the role of a subwidget (for theme support) More...
 
enum  UtilityCssClassRole
 Enumeration for the role of a css class (for theme support) More...
 
enum  ElementThemeRole
 Enumeration for the role of a DOM element (for theme support) More...
 
enum class  ValidationStyleFlag
 Enumeration that indicates what validation styles are to be applie. More...
 
enum  ChildCountPolicy { Disabled , Enabled , Lazy , Lazy }
 An enumeration for the policy to display the child count. More...
 
enum class  ValidationState { Invalid , InvalidEmpty , Valid }
 The state in which validated input can exist. More...
 
enum class  OpCode {
  Continuation = 0 , Text = 1 , Binary = 2 , Close = 8 ,
  Ping = 9 , Pong = 10
}
 
enum class  CloseCode {
  Normal = 1000 , GoingAway = 1001 , ProtocolError = 1002 , UnexpectedDataType = 1003 ,
  Reserved = 1004 , NoStatusCode = 1005 , AbnormalClose = 1006 , IncorrectData = 1007 ,
  PolicyError = 1008 , MessageTooLarge = 1009 , FailedExtensionNegotiation = 1010 , UnexpectedCondition = 1011 ,
  TLSFailure = 1015
}
 
enum class  DomElementType
 Enumeration for a DOM element type. More...
 
enum class  Property
 Enumeration for a DOM property. More...
 

Functions

WString asString (const cpp17::any &v, const WString &formatString=WString())
 Interprets a cpp17::any as a string value. More...
 
double asNumber (const cpp17::any &v)
 Interprets a cpp17::any as a number value. More...
 
template<typename Type >
void registerType ()
 Registers MVC-support for a type passed in a cpp17::any. More...
 
template<typename T , std::size_t A, std::size_t B, std::size_t C>
WGenericMatrix< T, A, C > operator* (const WGenericMatrix< T, A, B > &l, const WGenericMatrix< T, B, C > &r)
 Multiply two matrices.
 
template<typename T , std::size_t Rows, std::size_t Cols>
std::ostream & operator<< (std::ostream &os, const WGenericMatrix< T, Rows, Cols > &m)
 Print the matrix to an ostream.
 
template<typename T , std::size_t Rows, std::size_t Cols>
WGenericMatrix< T, Rows, Cols > operator* (const T &factor, const WGenericMatrix< T, Rows, Cols > &m)
 Multiply every element in the matrix with the given factor.
 
template<typename T , std::size_t Rows, std::size_t Cols>
WGenericMatrix< T, Rows, Cols > operator* (const WGenericMatrix< T, Rows, Cols > &m, const T &factor)
 Multiply every element in the matrix with the given factor.
 
template<typename T , std::size_t Rows, std::size_t Cols>
WGenericMatrix< T, Rows, Cols > operator/ (const WGenericMatrix< T, Rows, Cols > &m, const T &factor)
 Divide every element in the matrix by the given factor.
 
template<typename T , std::size_t Rows, std::size_t Cols>
WGenericMatrix< T, Rows, Cols > operator+ (const WGenericMatrix< T, Rows, Cols > &l, const WGenericMatrix< T, Rows, Cols > &r)
 Add two matrices together.
 
template<typename T , std::size_t Rows, std::size_t Cols>
WGenericMatrix< T, Rows, Cols > operator- (const WGenericMatrix< T, Rows, Cols > &l, const WGenericMatrix< T, Rows, Cols > &r)
 Substract two matrices.
 
template<typename T , std::size_t Rows, std::size_t Cols>
WGenericMatrix< T, Rows, Cols > operator- (const WGenericMatrix< T, Rows, Cols > &m)
 Negate every element in the matrix.
 
std::u16string toUTF16 (const std::u32string &s)
 Convert a UTF-32 string to UTF-16.
 
std::u32string toUTF32 (const std::u16string &s)
 Convert a UTF-16 string to UTF-32.
 

Variables

static const WFlags< AlignmentFlagAlignHorizontalMask
 Combination of all horizontal alignment flags.
 
static const WFlags< AlignmentFlagAlignVerticalMask
 Combination of all vertical alignment flags.
 
static const WFlags< MatchFlagMatchTypeMask
 Type part of MatchFlags.
 
static const WFlags< ValidationStyleFlagValidationAllStyles = ValidationStyleFlag::InvalidStyle | ValidationStyleFlag::ValidStyle
 All validation styles.
 

Detailed Description

The namespace for Wt.

Typedef Documentation

◆ WModelIndexList

typedef std::vector<WModelIndex> Wt::WModelIndexList

List of indexes.

The list is defined as std::vector<WModelIndex>.

Enumeration Type Documentation

◆ AlignmentFlag

enum Wt::AlignmentFlag
strong

Enumeration that specifies a horizontal or a vertical alignment.

The vertical alignment flags are AlignmentFlag::Baseline, AlignmentFlag::Sub, AlignmentFlag::Super, AlignmentFlag::Top, AlignmentFlag::TextTop, AlignmentFlag::Middle, AlignmentFlag::Bottom and AlignmentFlag::TextBottom.

The horizontal alignment flags are AlignmentFlag::Left, AlignmentFlag::Right, AlignmentFlag::Center and AlignmentFlag::Justify.

When used with setVerticalAlignment(), this applies only to inline widgets and determines how to position itself on the current line, with respect to sibling inline widgets.

When used with WTableCell::setContentAlignment(), this determines the vertical alignment of contents within the table cell.

When used with WPainter::drawText(), this determines the horizontal and vertical alignment of the text with respect to the bounding rectangle.

When used with WContainerWidget::setContentAlignment(), this specifies how contents should be aligned horizontally within the container.

Not all values are applicable in all situations. The most commonly used values are AlignmentFlag::Left, AlignmentFlag::Center, AlignmentFlag::Right, AlignmentFlag::Bottom, AlignmentFlag::Middle and AlignmentFlag::Top.

Enumerator
Left 

Align to the left.

Right 

Align to the right.

Center 

Align horizontally in the center.

Justify 

Justify left and right.

Baseline 

Align at baseline (default alignment).

Sub 

Align below the baseline (as if subscript).

Super 

Align above the baseline (as if superscript).

Top 

Align top of widget with top of tallest sibling widget.

TextTop 

Align top of widget with the top of the parent widget's font.

Middle 

Align vertically the middle to the middle of the parent widget.

Bottom 

Align bottom of widget to the bottom of the lowest sigling widget.

TextBottom 

Align bottom of widget to the bottom of parent widget's font.

◆ AnimationEffect

enum Wt::AnimationEffect
strong

An enumeration describing an animation effect.

An animation effect can be the combination of a motion and an optional fade effect, e.g:

@ Fade
Fade effect.
@ SlideInFromRight
Slides left to show, right to hide.
@ SlideInFromTop
Slides down to show, up to hide.

You can specify only one motion effect.

See also
setEffects()
Enumerator
SlideInFromLeft 

Slides right to show, left to hide.

SlideInFromRight 

Slides left to show, right to hide.

SlideInFromBottom 

Slides up to show, down to hide.

SlideInFromTop 

Slides down to show, up to hide.

Pop 

Pops up to show, pops away to hide.

Fade 

Fade effect.

◆ BootstrapVersion

enum Wt::BootstrapVersion
strong

Enumeration to select a bootstrap version.

See also
setVersion()
Enumerator
v2 

Bootstrap 2.

v3 

Bootstrap 3.

◆ BorderStyle

enum Wt::BorderStyle
strong

Enumeration for border style.

Enumerator
None 

No border (width ignored), default.

Hidden 

Invisible border (of specified width).

Dotted 

Dotted border.

Dashed 

Dashed border.

Solid 

Solid border.

Double 

Double lined border.

Groove 

Relief border grooved into the canvas.

Ridge 

Relief border coming out of the canvas.

Inset 

Relief border lowering contents into the canvas.

Outset 

Relief border letting contents come out of the canvas.

◆ BorderWidth

enum Wt::BorderWidth
strong

Enumeration for border width.

Enumerator
Thin 

Browser-dependent 'thin' border.

Medium 

Browser-dependent 'medium' border, default.

Thick 

Browser-dependent 'thick' border.

Explicit 

Explicit width. See also explicitWidth()

◆ CalendarHeaderFormat

The calendar header format.

Enumerator
SingleLetterDayNames 

First letter of a day (e.g. 'M' for Monday)

ShortDayNames 

First 3 letters of a day (e.g. 'Mon' for Monday)

LongDayNames 

Full day name.

◆ CharEncoding

enum CharEncoding
related

Enumeration that indicates a character encoding.

Character encodings are used to represent characters in a stream of bytes.

◆ CheckState

enum Wt::CheckState
strong

Enumeration for the check state of a check box.

See also
WCheckBox
Enumerator
Unchecked 

Unchecked.

PartiallyChecked 

Partially checked (for a tri-state checkbox)

Checked 

Checked.

◆ ChildCountPolicy

An enumeration for the policy to display the child count.

Enumerator
Disabled 

Do not display a child count.

Enabled 

Always display a child count.

Lazy 

Only display a child count when the node is populated.

Lazy 

Lazy loading: on first use.

◆ CloseCode

enum Wt::CloseCode
strong
Enumerator
Normal 

The normal code, this is the most-often used code.

GoingAway 

Indicates that the server is going down.

NoStatusCode 

Reserved, to be used by applications.

AbnormalClose 

Reserved, to be used by applications.

IncorrectData 

Received data is not consistent with type.

PolicyError 

Generic code for any policy violations.

MessageTooLarge 

Termination when received message is too big.

FailedExtensionNegotiation 

Termination by client due to expected extension.

UnexpectedCondition 

Termination by server due to unexpected condition.

TLSFailure 

Reserved, to be used by applications.

◆ ContentDisposition

Values for the disposition type in the Content-Disposition header.

Enumerator
None 

Do not specify a disposition type.

Attachment 

Open with a helper application or show 'Save As' dialog.

Inline 

View with a browser plugin.

◆ ContentLoading

enum Wt::ContentLoading
strong

Enumeration that determines when contents should be loaded.

Enumerator
Lazy 

Lazy loading: on first use.

Eager 

Pre-loading: before first use.

NextLevel 

Pre-load also next level (if applicable, e.g. for WTreeNode)

◆ Cursor

enum Wt::Cursor
strong

Enumeration for a cursor style.

See also
WCssDecorationStyle::setCursor(), WAbstractArea::setCursor()
Enumerator
Arrow 

Arrow, CSS 'default' cursor.

Auto 

Cursor chosen by the browser, CSS 'auto' cursor.

Cross 

Crosshair, CSS 'cross' cursor.

PointingHand 

Pointing hand, CSS 'pointer' cursor.

OpenHand 

Open hand, CSS 'move' cursor.

Wait 

Wait, CSS 'wait' cursor.

IBeam 

Text edit, CSS 'text' cursor.

WhatsThis 

Help, CSS 'help' cursor.

◆ DialogCode

enum Wt::DialogCode
strong

The result of a modal dialog execution.

Enumerator
Rejected 

Dialog closed with reject()

Accepted 

Dialog closed with accept()

◆ DomElementType

enum Wt::DomElementType
strong

Enumeration for a DOM element type.

For internal use only.

◆ DropLocation

enum Wt::DropLocation
strong

Enumeration that specifies the possible drop locations for drag/drop.

See also
setEnabledDropLocations()
Enumerator
OnItem 

Drop on items.

BetweenRows 

Drop between rows.

◆ EchoMode

enum Wt::EchoMode
strong

Enumeration that describes how the contents is displayed.

See also
setEchoMode(EchoMode)
Enumerator
Normal 

Characters are shown.

Password 

Hide the contents as for a password.

◆ EditOption

enum Wt::EditOption
strong

Enumeration that specifies editing options.

See also
setEditOptions()
Enumerator
SingleEditor 

Never show more than one active editor.

MultipleEditors 

Allow multiple editors at the same time.

SaveWhenClosed 

Always save the current edit value when closing.

LeaveEditorsOpen 

Editors can only be closed using closeEditor()

◆ EditTrigger

enum Wt::EditTrigger
strong

Enumeration that specifies the user action that triggers editing.

See also
setEditTriggers(), edit()
Enumerator
None 

Do not allow user to initiate editing.

SingleClicked 

Edit an item when clicked.

DoubleClicked 

Edit an item when double clicked.

SelectedClicked 

Edit a selected item that is clicked again.

◆ ElementThemeRole

Enumeration for the role of a DOM element (for theme support)

See also
WTheme::apply()

◆ EntryPointType

enum Wt::EntryPointType
strong

Enumeration that indicates a Wt entrypoint type.

An entry point binds a behavior to a public URL. Only the wthttpd connector currently supports multiple entry points.

Enumerator
Application 

Specifies a full-screen application.

A full screen application manages the entire browser window and provides its own HTML page.

See also
WServer::addEntryPoint(), WApplication::root()
WidgetSet 

Specifies an application that manages one or more widgets.

A widget set application is part of an existing HTML page. One or more HTML elements in that web page may be bound to widgets managed by the application.

The application presents itself as a JavaScript file, and therefore should be embedded in the web page using a <script> tag, from within the <body> (since it needs access to the <body>).

Note
A EntryPointType::WidgetSet application requires JavaScript support
See also
WServer::addEntryPoint(), WApplication::bindWidget()
StaticResource 

Specifies a static resource.

A static resource binds a WResource to a public URL, and is not bound to a specific session.

See also
WServer::addResource()

◆ EventType

enum Wt::EventType
strong

An enumeration describing an event's type.

See also
WEvent::eventType()
Enumerator
Other 

An event which is not user- or timer-initiated.

User 

A user-initiated event.

Timer 

A timer-initiated event.

Resource 

An event which is a resource request.

◆ FilePickerType

enum Wt::FilePickerType
strong

Enumeration of file picker types.

The browser can open the file picker in two modes: one where only files can be selected and another where only directories can be selected.

Enumerator
FileSelection 

Only files can be selected.

DirectorySelection 

Only directories can be selected.

◆ FontFamily

enum Wt::FontFamily
strong

The generic font family.

Enumerator
Default 

Browser-dependent default.

Serif 

for example: Times

SansSerif 

for example: Helvetica

Cursive 

for example: Zapf-Chancery

Fantasy 

for example: Western

Monospace 

for example: Courier

◆ FontSize

enum Wt::FontSize
strong

The font size.

Enumerator
XXSmall 

Extra Extra small.

XSmall 

Extra small.

Small 

Small.

Medium 

Medium, default.

Large 

Large.

XLarge 

Extra large.

XXLarge 

Extra Extra large.

Smaller 

Relatively smaller than the parent widget.

Larger 

Relatively larger than the parent widget.

FixedSize 

Explicit size, See also fontFixedSize()

◆ FontStyle

enum Wt::FontStyle
strong

The font style.

Enumerator
Normal 

Normal (default)

Italic 

Italic.

Oblique 

Oblique.

◆ FontVariant

enum Wt::FontVariant
strong

The font variant.

Enumerator
Normal 

Normal (default)

SmallCaps 

Small Capitals.

◆ FontWeight

enum Wt::FontWeight
strong

The font weight.

Enumerator
Normal 

Normal (default) (Value == 400)

Bold 

Bold (Value == 700)

Bolder 

Bolder than the parent widget.

Lighter 

Lighter than the parent widget.

Value 

Specify a value (100 - 900)

◆ GLClientSideRenderer

Specifies what GL function needs to be updated.

Enumerator
PAINT_GL 

refresh paintGL()

RESIZE_GL 

refresh resizeGL()

UPDATE_GL 

refresh updateGL()

◆ GLRenderOption

enum Wt::GLRenderOption
strong

Enumeration for render options.

See also
setRenderOptions()
Enumerator
ClientSide 

Enables client-side rendering.

ServerSide 

Enables server-side rendering.

AntiAliasing 

Enables anti-aliasing.

◆ GoogleMapsVersion

enum Wt::GoogleMapsVersion
strong

Google Maps API version.

Enumerator
v3 

API Version 3.x.

◆ HtmlContentType

enum Wt::HtmlContentType
strong

Enumeration for HTML content type.

Enumerator
XHTML1 

XHTML1.x.

HTML4 

HTML4.

HTML5 

HTML5.

◆ Icon

enum Wt::Icon
strong

Enumeration that indiciates a standard icon.

See also
WMessageBox
Enumerator
None 

No icon.

Information 

An information icon.

Warning 

A warning icon.

Critical 

A critical icon.

Question 

A question icon.

◆ InputMaskFlag

enum Wt::InputMaskFlag
strong

Enumeration that describes options for input masks.

See also
setInputMask()
Enumerator
KeepMaskWhileBlurred 

Keep the input mask when blurred.

◆ LayoutDirection

enum Wt::LayoutDirection
strong

An enumeration describing a layout direction.

Enumerator
LeftToRight 

Left-to-Right layout.

RightToLeft 

Right-to-left layout.

TopToBottom 

Top-to-bottom layout.

BottomToTop 

Bottom-to-top layout.

◆ LayoutImplementation

Enumeration to indicate which layout implementation to use.

See also
WLayout::setPreferredImplementation()
WLayout::setDefaultImplementation()
Enumerator
Flex 

Use CSS flex layout (if supported by the browser)

JavaScript 

Uses the classic JavaScript-based method. In some cases flex layout may fail when nesting multiple layouts, so this method can be used instead.

◆ LayoutPosition

enum Wt::LayoutPosition
strong

Enumeration of possible positions in the layout.

Enumerator
North 

North (top)

East 

East (right)

South 

South (bottom)

West 

West (left)

Center 

Center.

◆ LengthUnit

enum Wt::LengthUnit
strong

CSS length unit type.

Enumerator
FontEm 

The relative font size (em)

FontEx 

The height of an 'x' in the font (ex)

Pixel 

Pixel, relative to canvas resolution (px)

Inch 

Inch (in)

Centimeter 

Centimeter (cm)

Millimeter 

Millimeter (mm)

Point 

Point (1/72 Inch) (pt)

Pica 

Pica (12 Point) (pc)

Percentage 

Percentage (meaning context-sensitive) (%)

ViewportWidth 

A percentage of the viewport's width (vw)

Note
Internet Explorer only supports vw since version 9
ViewportHeight 

A percentage of the viewport's height (vh)

Note
Internet Explorer only supports vh since version 9
ViewportMin 

A percentage of the viewport's smaller dimension (vmin)

Note
Internet Explorer only supports vmin since version 9
ViewportMax 

A percentage of the viewport's larger dimension (vmax)

Note
Not supported on Internet Explorer

◆ LinkTarget

enum Wt::LinkTarget
strong

Enumeration that specifies where the target of an anchor should be displayed.

See also
WAnchor::setTarget()
Enumerator
Self 

Show Instead of the application.

ThisWindow 

Show in the top level frame of the application window.

NewWindow 

Show in a separate new tab or window.

Download 

Useful only for a downloadable resource.

◆ LinkType

enum Wt::LinkType
strong

An enumeration for a link type.

See also
type()
Enumerator
Url 

A static URL.

Resource 

A dynamic resource.

InternalPath 

An internal path.

◆ MapTypeControl

enum Wt::MapTypeControl
strong

Google Maps map type control.

Enumerator
None 

Show no maptype control.

Default 

Show the default maptype control.

Menu 

Show the drop-down menu maptype control.

Hierarchical 

Show the hierarchical maptype control.

HorizontalBar 

Show the horizontal bar maptype control.

◆ MediaEncoding

enum Wt::MediaEncoding
strong

An enumeration for a media encoding.

See also
addSource()
http://www.jplayer.org/latest/developer-guide/#jPlayer-media-encoding
Enumerator
PosterImage 

The poster image (e.g. JPG/PNG) for a video.

MP3 

Audio: MP3 encoding (essential audio format)

M4A 

Audio: MP4 encoding (essential audio format)

OGA 

Audio: OGG encoding.

WAV 

Audio: WAV (uncompressed) format.

WEBMA 

Audio: WebM encoding.

FLA 

Audio: Flash format.

M4V 

Video: MP4 encoding (essential video format)

OGV 

Video: OGG encoding.

WEBMV 

Video: WebM encoding.

FLV 

Video: Flash format.

◆ MediaPlayerButtonId

An enumeration for a button function.

See also
setButton(), button()
Enumerator
VideoPlay 

Play button which overlays the video (for Video only)

Play 

Play button, is hidden while playing.

Pause 

Pause button, is hidden while paused.

Stop 

Stop button.

VolumeMute 

Volume mute button.

VolumeUnmute 

Volume unmute button.

VolumeMax 

Volume max button.

FullScreen 

Toggle button for full screen, is hidden while full screen (for Video only)

RestoreScreen 

Toggle button to restore the screen, is shown only in full screen (for Video only)

RepeatOn 

Toggle button to enable looping, is hidden while repeating is on

RepeatOff 

Toggle button to disable looping, is hidden while repeat is off

◆ MediaPlayerProgressBarId

An enumeration for a progressbar function.

See also
setProgressBar(), progressBar()
Enumerator
Time 

The time bar.

Volume 

The volume bar.

◆ MediaPlayerTextId

enum Wt::MediaPlayerTextId
strong

An enumeration for a text.

See also
setText(), text()
Enumerator
CurrentTime 

Displays the current time.

Duration 

Displays the total duration.

Title 

Displays the title set in setTitle()

◆ MediaPreloadMode

enum Wt::MediaPreloadMode
strong

Enumeration for preload strategy.

Enumerator
None 

Hints that the user will probably not play the video.

Auto 

Hints that it is ok to download the entire resource.

Metadata 

Hints that retrieving metadata is a good option.

◆ MediaReadyState

enum Wt::MediaReadyState
strong

Enumeration that indicates how much of (a media) is loaded.

Enumerator
HaveNothing 

No information available.

HaveMetaData 

Metadata loaded: duration, width, height.

HaveCurrentData 

Data at playback position is available.

HaveFutureData 

Have data to play for a while.

HaveEnoughData 

Enough to reach the end without stalling.

◆ MediaType

enum Wt::MediaType
strong

An enumeration for a media type.

Enumerator
Audio 

Defines an audio player.

Video 

Defines a video player.

◆ MetaHeaderType

enum Wt::MetaHeaderType
strong

Enumeration that indicates a meta header type.

See also
WApplication::addMetaHeader()
Enumerator
Meta 

Of the form <meta name=... content=... >.

Property 

Of the form <meta property=... content=... >.

HttpHeader 

Of the form <meta http-equiv=... content=... >.

◆ MouseButton

enum Wt::MouseButton
strong

Enumeration for the mouse button.

Enumerator
None 

No button.

Left 

Left button.

Middle 

Middle button.

Right 

Right button.

◆ OpCode

enum Wt::OpCode
strong
Enumerator
Continuation 

Indicates that the content is the same as a previous frame, and that its data needs to be appended to the previous frame.

Text 

Indicates a text message. The data of the frame is a string.

Binary 

Indicates a binary message. The data of the frame is binary.

Close 

Indicates a close message. The data of the frame is an optional string.

Ping 

Indicates a ping message.

Pong 

Indicates a pong message.

◆ Orientation

enum Wt::Orientation
strong

Enumeration that indicates a direction.

Enumerator
Horizontal 

Horizontal.

Vertical 

Vertical.

◆ Overflow

enum Wt::Overflow
strong

How to handle overflow of inner content.

Enumerator
Visible 

Show content that overflows.

Auto 

Show scrollbars when needed.

Hidden 

Hide content that overflows.

Scroll 

Always show scroll bars.

◆ PaintDeviceFeatureFlag

Enumeration to indicate paint device features.

See also
features()
Enumerator
WordWrap 

Implements drawText() with Wt::TextFlag::WordWrap.

FontMetrics 

Implements fontMetrics() and measureText()

◆ PainterChangeFlag

enum Wt::PainterChangeFlag
strong

Enumeration to communicate painter state changes.

See also
setChanged(WFlags<ChangeFlag>)
Enumerator
Pen 

Properties of the pen have changed.

Brush 

Properties of the brush have changed.

Font 

Properties of the font have changed.

Hints 

Some render hints have changed.

Transform 

The transformation has changed.

Clipping 

The clipping has changed.

Shadow 

Properties of the shadow have changed.

◆ PaintFlag

enum Wt::PaintFlag
strong

Enumeration that indicates how to change a selection.

See also
WPaintedWidget::update(), WPaintDevice::paintFlags()
Enumerator
Update 

The canvas is not cleared, but further painted on.

◆ PlayerOption

enum Wt::PlayerOption
strong

Enumeration for playback options.

Enumerator
Autoplay 

Start playing as soon as the video is loaded.

Loop 

Enable loop mode.

Controls 

Show video controls in the browser.

◆ PopupTrigger

enum Wt::PopupTrigger
strong

Enumeration that defines a trigger for showing the popup.

See also
forEdit()
Enumerator
Editing 

Shows popup when the user starts editing.

The popup is shown when the currently edited text has a length longer than the filter length.

DropDownIcon 

Shows popup when user clicks a drop down icon.

The lineedit is modified to show a drop down icon, and clicking the icon shows the suggestions, very much like a WComboBox.

◆ PositionScheme

enum Wt::PositionScheme
strong

Enumeration that specifies a layout mechanism for a widget.

The layout mechanism determines how the widget positions itself relative to the parent or sibling widgets.

See also
WWidget::setPositionScheme(PositionScheme scheme)
Enumerator
Static 

Static position scheme.

The widget is layed-out with other Static and Relative sibling widgets, one after another.

Inline widgets are layed out in horizontal lines (like text), wrapping around at the end of the line to continue on the next line. Block widgets are stacked vertically.

Static widgets may also float to the left or right border, using setFloatSide().

Relative 

Relative position scheme.

The widget is first layed out according to Static layout rules, but after layout, the widget may be offset relative to where it would be in a static layout, using setOffsets().

Another common use of a Relative position scheme (even with no specified offsets) is to provide a new reference coordinate system for Absolutely positioned widgets.

Absolute 

Absolute position scheme.

The widget is positioned at an absolute position with respect to the nearest ancestor widget that is either:

Fixed 

Fixed position scheme.

The widget is positioned at fixed position with respect to the browser's view-pane.

◆ Property

enum Wt::Property
strong

Enumeration for a DOM property.

This is an internal API, subject to change.

◆ RegExpFlag

enum Wt::RegExpFlag
strong

Enumeration that indicates a regular expression option.

Enumerator
MatchCaseInsensitive 

Case insensitive matching.

◆ RenderHint

enum Wt::RenderHint
strong

Enumeration for render hints.

Enumerator
Antialiasing 

Antialiasing.

LowQualityShadows 

Use low-quality shadows (applies only to VML)

◆ RenderMethod

enum Wt::RenderMethod
strong

Enumeration that indicates a client-side rendering method for a painted widget.

See also
WPaintedWidget
Enumerator
InlineSvgVml 

SVG (Most browsers) or VML (Internet Explorer < 9) embedded in the page.

HtmlCanvas 

The HTML5 canvas element.

PngImage 

Using a PNG image resource.

◆ ScrollHint

enum Wt::ScrollHint
strong

Enumeration that specifies a scrolling option.

See also
scrollTo()
Enumerator
EnsureVisible 

Scrolls minimally to make it visible.

PositionAtTop 

Positions the item at the top of the viewport.

PositionAtBottom 

Positions the item at the bottom of the viewport.

PositionAtCenter 

Positions the item at the center of the viewport.

◆ SegmentType

The segment type

Enumerator
MoveTo 

moveTo segment

LineTo 

lineTo segment

CubicC1 

first control point of cubic bezier curve.

Always followed by a CubicC2 and CubicEnd segment

CubicC2 

second control point of cubic bezier curve

Always followed by a CubicEnd segment

CubicEnd 

end point of cubic bezier curve

QuadC 

control point of quadratic bezier curve

QuadEnd 

end point of quadratic bezier curve

ArcC 

center of an arc

Always followed by an ArcR and ArcAngleSweep segment

ArcR 

radius of an arc Always followed by an ArcAngleSweep segment

ArcAngleSweep 

the sweep of an arc

x = startAngle, y = spanAngle

◆ SelectionBehavior

enum Wt::SelectionBehavior
strong

Enumeration that indicates what is being selected.

See also
WTreeView::setSelectionBehavior()
Enumerator
Items 

Select single items.

Rows 

Select only rows.

◆ SelectionFlag

enum Wt::SelectionFlag
strong

Enumeration that indicates how to change a selection.

See also
WTreeView::select()
Enumerator
Select 

Add to selection.

Deselect 

Remove from selection.

ToggleSelect 

Toggle in selection.

ClearAndSelect 

Clear selection and add single item.

◆ SelectionMode

enum Wt::SelectionMode
strong

Enumeration that indicates how items may be selected.

See also
WTreeView::setSelectionMode()
Enumerator
None 

No selections.

Single 

Single selection only.

Extended 

Multiple selection.

◆ Side

enum Wt::Side
strong

Enumeration that indicates a relative location.

Values of Side::CenterX, Side::CenterY, and CenterXY are only valid for WCssDecorationStyle::setBackgroundImage()

See also
WWidget::setMargin(const WLength& x, WFlags<Side> sides)
WWidget::setOffsets(const WLength& x, WFlags<Side> sides)
WWidget::setFloatSide(Side s)
WWidget::setClearSides(WFlags<Side> sides)
WContainerWidget::setPadding(const WLength& x, WFlags<Side> sides)
WCssDecorationStyle::setBackgroundImage()
Enumerator
Top 

Top side.

Bottom 

Bottom side.

Left 

Left side.

Right 

Right side.

CenterX 

Center horiziontally.

CenterY 

Center vertically.

◆ StandardButton

enum Wt::StandardButton
strong

Enumeration that indicates a standard button.

Multiple buttons may be specified by logically or'ing these values together, e.g.

See also
WMessageBox
Enumerator
None 

No button.

Ok 

An OK button.

Cancel 

A Cancel button.

Yes 

A Yes button.

No 

A No button.

Abort 

An Abort button.

Retry 

A Retry button.

Ignore 

An Ignore button.

YesAll 

A Yes-to-All button.

NoAll 

A No-to-All button.

◆ TemplateWidgetIdMode

Enumeration that indicates how a widget's ID may be set.

See also
setWidgetIdMode()
Enumerator
None 

Do not set the widget ID.

SetObjectName 

Use setObjectName() to add a 'data-object-name' attribute. This is a safe choice since it does not affect the ID.

SetId 

Use setId() to set the ID as the varName.

Warning
You must be careful that there are no two widgets with the same ID in yor application.

◆ TextDecoration

enum Wt::TextDecoration
strong

Text decoration options.

Enumerator
Underline 

Underline.

Overline 

Overline.

LineThrough 

LineThrough.

Blink 

Blink.

◆ TextFlag

enum Wt::TextFlag
strong

Enumeration that specifies the way text should be printed.

See also
WPainter::drawText(const WRectF& rect, WFlags<AlignmentFlag> alignmentFlags, TextFlag textFlag, const WString& text)
Enumerator
SingleLine 

Text will be printed on just one line.

WordWrap 

Lines will break at word boundaries.

◆ TextFormat

enum Wt::TextFormat
strong

Enumeration that indicates the text format.

See also
WText::setTextFormat()
Enumerator
XHTML 

Format text as XSS-safe XHTML markup'ed text.

UnsafeXHTML 

Format text as XHTML markup'ed text.

Plain 

Format text as plain text.

◆ TimingFunction

enum Wt::TimingFunction
strong

A timing function.

The timing function defines how the animation effects are animated during the total duration of the animation.

Enumerator
Ease 

Slow start and slow finish.

Linear 

Linear throughout.

EaseIn 

Slow start.

EaseOut 

Slow finish.

EaseInOut 

Slow start and even slower finish.

CubicBezier 

(Currently unsupported)

◆ UserAgent

enum Wt::UserAgent
strong

An enumeration type for specific user agent.

See also
agent()
Enumerator
Unknown 

Unknown user agent.

IEMobile 

Internet Explorer Mobile, 5 or older.

IE6 

Internet Explorer 6.

IE7 

Internet Explorer 7.

IE8 

Internet Explorer 8.

IE9 

Internet Explorer 9.

IE10 

Internet Explorer 10.

IE11 

Internet Explorer 11.

Edge 

Edge.

Opera 

Opera.

Opera10 

Opera 10 or later.

WebKit 

WebKit.

Safari 

Safari 2 or older.

Safari3 

Safari 3.

Safari4 

Safari 4 or later.

Chrome0 

Chrome 0.

Chrome1 

Chrome 1.

Chrome2 

Chrome 2.

Chrome3 

Chrome 3.

Chrome4 

Chrome 4.

Chrome5 

Chrome 5 or later.

Arora 

Arora.

MobileWebKit 

Mobile WebKit.

MobileWebKitiPhone 

Mobile WebKit iPhone/iPad.

MobileWebKitAndroid 

Mobile WebKit Android.

Konqueror 

Konqueror.

Gecko 

Gecko.

Firefox 

Firefox 2 or older.

Firefox3_0 

Firefox 3.0.

Firefox3_1 

Firefox 3.1.

Firefox3_1b 

Firefox 3.1b.

Firefox3_5 

Firefox 3.5.

Firefox3_6 

Firefox 3.6.

Firefox4_0 

Firefox 4.0.

Firefox5_0 

Firefox 5.0 or later.

BotAgent 

Bot user agent.

◆ UtilityCssClassRole

Enumeration for the role of a css class (for theme support)

See also
WTheme::utilityCssClass()

◆ ValidationState

enum Wt::ValidationState
strong

The state in which validated input can exist.

Enumerator
Invalid 

The input is invalid.

InvalidEmpty 

The input is invalid (empty and mandatory).

Valid 

The input is valid.

◆ ValidationStyleFlag

Enumeration that indicates what validation styles are to be applie.

See also
WTheme::applyValidationStyle()

◆ ViewItemRenderFlag

Enumeration that specifies an option for rendering a view item.

See also
WAbstractItemDelegate::update()
Enumerator
Selected 

Render as selected

Editing 

Render in editing mode

Focused 

Render (the editor) focused

Invalid 

Render as invalid

◆ WidgetThemeRole

Enumeration for the role of a subwidget (for theme support)

See also
WTheme::apply()