The OpenD Programming Language

WidgetBackground

Structure to represent a collection of background hints. New features can be added here, so make sure you use the provided constructors and factories for maximum compatibility.

Constructors

this
this(Color color)

A background with the given solid color.

Members

Static functions

fromString
WidgetBackground fromString(string s)

Creates a widget from the string.

Variables

color
Color color;

The background is not necessarily a solid color, but you can always specify a color as a fallback.

Meta

History

Added May 24, 2021.