RadioButtonGroup

Radio buttons, for selecting from multiple options.

Constructors

this
this(wstring text, string source, Coordinate coordinates, wstring[] options, int rowHeight, int buttonpos)
Undocumented in source.

Members

Functions

draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
onClick
void onClick(int offsetX, int offsetY, int state, ubyte button)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

value
int value [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
value
int value [@property setter]
background
ushort background;
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

border
ushort border;
Undocumented in source.
brush
int[] brush;
Undocumented in source.
iconChecked
int iconChecked;
iconUnchecked
int iconUnchecked;
Undocumented in source.
onToggle
void delegate(Event ev) onToggle;
Undocumented in source.
options
wstring[] options;
Undocumented in source.

Inherited Members

From WindowElement

text
wstring text;
Undocumented in source.
source
string source;
Undocumented in source.
position
Coordinate position;
Undocumented in source.
output
BitmapDrawer output;
Undocumented in source.
elementContainer
ElementContainer elementContainer;
Undocumented in source.
customStyle
StyleSheet customStyle;
Undocumented in source.
state
bool state;
Undocumented in source.
inputHandler
InputHandler inputHandler;
Undocumented in source.
popUpHandler
PopUpHandler popUpHandler;
Undocumented in source.
styleSheet
StyleSheet styleSheet;
Undocumented in source.
onDraw
void delegate() onDraw;
Undocumented in source.
onMouseLClickRel
void delegate(Event ev) onMouseLClickRel;
Undocumented in source.
onMouseRClickRel
void delegate(Event ev) onMouseRClickRel;
Undocumented in source.
onMouseMClickRel
void delegate(Event ev) onMouseMClickRel;
Undocumented in source.
onMouseHover
void delegate(Event ev) onMouseHover;
Undocumented in source.
onMouseMove
void delegate(Event ev) onMouseMove;
Undocumented in source.
onMouseLClickPre
void delegate(Event ev) onMouseLClickPre;
Undocumented in source.
onMouseRClickPre
void delegate(Event ev) onMouseRClickPre;
Undocumented in source.
onMouseMClickPre
void delegate(Event ev) onMouseMClickPre;
Undocumented in source.
onClick
void onClick(int offsetX, int offsetY, int state, ubyte button)
Undocumented in source. Be warned that the author may not have intended to support it.
onDrag
void onDrag(int x, int y, int relX, int relY, ubyte button)
Undocumented in source. Be warned that the author may not have intended to support it.
onKey
void onKey(char c, int type)
Undocumented in source. Be warned that the author may not have intended to support it.
onScroll
void onScroll(int x, int y, int wX, int wY)
Undocumented in source. Be warned that the author may not have intended to support it.
getX
int getX()
Undocumented in source. Be warned that the author may not have intended to support it.
getY
int getY()
Undocumented in source. Be warned that the author may not have intended to support it.
getPosition
Coordinate getPosition()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw()

Updates the output.

getText
wstring getText()
Undocumented in source. Be warned that the author may not have intended to support it.
setText
void setText(wstring s)
Undocumented in source. Be warned that the author may not have intended to support it.
getAvailableStyleSheet
StyleSheet getAvailableStyleSheet()
Undocumented in source. Be warned that the author may not have intended to support it.
setCustomStyle
void setCustomStyle(StyleSheet s)
Undocumented in source. Be warned that the author may not have intended to support it.
setState
void setState(bool b)

Enables (b = true) or disables (b = false) the element. All element is enabled by default.

getState
bool getState()

Gets the state of the element.

Meta