r3radiob

r3radiob

Class

oops/r3radiob.h

Library

r3oops

Description:

Mutually exclusive radiobutton class.

See Also

oops/r3osgdgt.h

See Also

oops/r3mxgad.h

Super Class

r3Osgadget

R3CLID_OSGADGET

JavaScript

r3Radiobutton

Class Identifier

R3CLID_RADIOBUTTON - 33

Attributes

Labels, AlwaysOne,

Registration

int R3RegisterRadioButtonClass(R3APP *app);

Labels

Attribute

Labels

Identifier

R3GRBA_Labels

JavaScript type

String

C type

char*[]

Description

null terminated pointer array defining labels for the gadget

Syntax


jsobj.SetLabels(value);
value = jsobj.GetLabels();


char*[] value = ...;
R3SetAttrs(r3obj, R3GRBA_Labels, value, R3TAG_END);
char*[] value;
R3GetAttrs(r3obj, R3GRBA_Labels, &value, R3TAG_END);

AlwaysOne

Attribute

AlwaysOne

Identifier

R3GRBA_AlwaysOne

JavaScript type

Boolean

C type

R3BOOL

Description

If FALSE all buttons can be deselected, else one is always selected.

Syntax


jsobj.SetAlwaysOne(value);


R3BOOL value = ...;
R3SetAttrs(r3obj, R3GRBA_AlwaysOne, value, R3TAG_END);

Values for R3GRBA_Layout

R3RBF_VERTICAL
R3RBF_HORIZONTAL

Tags

Tags

R3GRBA_Layout
R3GRBA_ToolTips