|
QuadUI 1.2.9 public beta
Run-time API for QuadUI
|
Public Member Functions | |
| void | SetSelected (int id) |
Public Attributes | |
| Toggle2D[] | toggles |
Properties | |
| int | selection [get] |
This class is used for mutually exclusive selection. (Like Unity GUI's toolbar, or a group of radio buttons!) It consists of several Toggle2D primitives, as many as you want. The first index of your Toggle2D array toggles will be selected at startup. Be sure to keep that in mind!
Note: This could easily be adapted to become a selection grid, just manually position your items in multiple rows.
| void Toolbar2D.SetSelected | ( | int | id | ) |
Sets the selection of the toolbar manually, and dispatches an Event EQEQEvent.CHANGED
int Toolbar2D.selection [get] |
Read-only: Current selection's id.