-
Notifications
You must be signed in to change notification settings - Fork 0
RadioButton
Travis Gibson edited this page Sep 20, 2018
·
3 revisions
A set of buttons where only one option can be chosen.
new()
Creates a new set of RadioButtons.
append(Str:D $text)
Adds another RadioButton to the set.
selected() returns SSIZE_T
Returns the index of the currently selected RadioButton.
set-selected(SSIZE_T $n)
or selected(Int $n)
Sets the selected RadioButton
changed() returns Supply
Returns a Supply. An event is emitted whenever the selected RadioButton changes.
See SSIZE_T.