The OpenD Programming Language

StyleInformation

Get this through Widget.getComputedStyle. It provides access to the Widget.Style style hints and Widget layout hints, possibly modified through the VisualTheme, through a unifed interface.

Members

Properties

activeMenuItemColor
Color activeMenuItemColor [@property getter]
activeTabColor
Color activeTabColor [@property getter]
buttonColor
Color buttonColor [@property getter]
darkAccentColor
Color darkAccentColor [@property getter]
depressedButtonColor
Color depressedButtonColor [@property getter]
flexBasisHeight
int flexBasisHeight [@property getter]
flexBasisWidth
int flexBasisWidth [@property getter]
font
OperatingSystemFont font [@property getter]

Returns the cached font object associated with the widget, if overridden by the Style, or the VisualTheme if not.

heightShrinkiness
int heightShrinkiness [@property getter]
heightStretchiness
int heightStretchiness [@property getter]
hoveringColor
Color hoveringColor [@property getter]
lightAccentColor
Color lightAccentColor [@property getter]
marginBottom
int marginBottom [@property getter]
marginLeft
int marginLeft [@property getter]
marginRight
int marginRight [@property getter]
marginTop
int marginTop [@property getter]
maxHeight
int maxHeight [@property getter]
maxWidth
int maxWidth [@property getter]
minHeight
int minHeight [@property getter]
minWidth
int minWidth [@property getter]
opDispatch
opDispatch [@property getter]

Forwards to Widget.Style

paddingBottom
int paddingBottom [@property getter]
paddingLeft
int paddingLeft [@property getter]
paddingRight
int paddingRight [@property getter]
paddingTop
int paddingTop [@property getter]
progressBarColor
Color progressBarColor [@property getter]
selectionBackgroundColor
Color selectionBackgroundColor [@property getter]
selectionForegroundColor
Color selectionForegroundColor [@property getter]
widgetBackgroundColor
Color widgetBackgroundColor [@property getter]
widthShrinkiness
int widthShrinkiness [@property getter]
widthStretchiness
int widthStretchiness [@property getter]
windowBackgroundColor
Color windowBackgroundColor [@property getter]

Meta

History

Finalized on June 3, 2021 for the dub v10.0 release