GLOW API version 1.0 reference

Back to
Table of contents


class GlowWidgetWindowParams

General information

type: struct
inherits: GlowWindowParams
module: glowWidget

GlowWidgetWindowParams encloses parameters for construction of a GlowWidgetWindow.

GLOW programs which create widgets in toplevel windows may use this class.

Data

Subwindow parameter data
These fields are inherited from GlowWindowParams. Note that one of the fiels has a different default.

const char* title

Title for the window. Initial default is "".

const char* iconTitle

Title for the window when iconified. If set to 0, the icon title will be set to the same as the window title. Initial default is 0.

int width

Width of the window. Initial default is 100.

int height

Height of the window. Initial default is 100.

int x

X location of the upper left of the window, in pixel coordinates of the screen. Initial default is GlowWindow::autoPosition.

int y

Y location of the upper left of the window, in pixel coordinates of the screen. Initial default is GlowWindow::autoPosition.

Glow::EventMask eventMask

Active event mask for the window. Initial default is Glow::mouseEvents | Glow::dragEvents | Glow::keyboardEvents.

Glow::EventMask inactiveEventMask

Inactive event mask for the window. Initial default is Glow::noEvents.

Glow::BufferType mode

Buffer mode for the window. Initial default is Glow::rgbBuffer | Glow::doubleBuffer.

Widget root parameters

GlowColor backColor

Background color for the widget root. Initial default is a light gray.

Static Data

Defaults

static GlowWidgetWindowParams defaults

Default parameters. These are copied every time a new GlowWidgetWindowParams is constructed.

Methods

Constructor

GlowWidgetWindowParams(void)

Constructs a new parameter block, copying defaults

Back to
Table of contents


The GLOW Toolkit