RadioButtonGroup

Radio Button Group implementation. Can send events via it's delegates.

Constructors

this
this()

Empty ctor

this
this(R range)

Creates a new group with some starting elements from a compatible range.

Members

Aliases

RadioButtonSet
alias RadioButtonSet = LinkedList!(IRadioButton, false, "a.equals(b)")
Undocumented in source.

Functions

add
void add(IRadioButton rg)

Adds a new RadioButton to the group.

callOnToggle
void callOnToggle(Event ev)

Calls the onToggle delegate if set

latch
void latch(IRadioButton sender)

Latches the group.

latchPos
size_t latchPos(size_t val)

Latches to the given position.

latchPos
size_t latchPos()

Returns the current latch position.

remove
void remove(IRadioButton rg)

Removes the given RadioButton from the group.

Properties

value
string value [@property getter]

Returns the value of this group.

Variables

_latchPos
size_t _latchPos;
Undocumented in source.
latchedButton
IRadioButton latchedButton;
Undocumented in source.
onToggle
EventDeleg onToggle;

If set, it'll be called when the group is toggled.

radioButtons
RadioButtonSet radioButtons;
Undocumented in source.

Meta