GLOW API version 1.0 reference

Back to
Table of contents


class GlowRadioGroupParams

General information

type: struct
inherits: GlowPanelParams
module: glowRadioButtonWidget

GlowRadioGroupParams encloses parameters for construction of a GlowRadioGroupWidget.

GLOW programs which use radio buttons may need to use GlowRadioGroupParams to construct a radio group.

Data

General widget parameter data
These fields are inherited from GlowWidgetParams. Note that their default values may be different from those of the generic widget params.

int width

Width of the widget. Initial default is 100.

int height

Height of the widget. Initial default is 100.

int x

X location of the upper left of the widget, in pixel coordinates of the parent widget. Initial default is 0.

int y

Y location of the upper left of the widget, in pixel coordinates of the parent widget. Initial default is 0.

long refcon

Reference constant for this widget. Initial default 0.

bool clipping

Should the widget clip to its rectangle when drawing children. Initial default is true.

Parameter data specific to radio groups and group boxes

int style

Drawing style. Default is GlowPanelWidget::plainStyle

GlowRadioButtonReceiver* receiver

Receiver for radio button toggle events. Default is 0, for no receiver.

Color data
These fields are inherited from GlowPanelParams.

GlowColor backColor
GlowColor lightBevelColor
GlowColor darkBevelColor

Static Data

Defaults

static GlowRadioGroupParams defaults

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

Methods

Constructor

GlowRadioGroupParams(void)

Constructs a new parameter block, copying defaults

Back to
Table of contents


The GLOW Toolkit