Create a new radiobox.
Check this radiobox.
Check this radiobox.
Group this radiobox belongs to. In a single group, only one radiobox can be selected.
Additional features available for checkbox styling.
Size of the checkbox.
If true, the box is checked.
Get checkmark texture used by this checkbox.
Toggle the checkbox.
// Radioboxes are similar to checkboxes, except that only one in a group // can be checked at a time auto group = new RadioboxGroup; auto box1 = radiobox(group); auto box2 = radiobox(group); box1.select(); assert(box1.isChecked); // Checking the other box will uncheck the previous one box2.select(); assert(!box1.isChecked); assert(box2.isChecked);
A radiobox is similar to checkbox, except only one in a group can be selected at a time.