Torque 3D - Script Manual: GuiRadioCtrl Class Reference

TorqueScript

Main   Class List   Namespace List   Online

GuiRadioCtrl Class Reference
[Button Controls]

A button based around the radio concept. More...

Inheritance diagram for GuiRadioCtrl:

List of all members.


Detailed Description

A button based around the radio concept.

GuiRadioCtrl's functionality is based around GuiButtonBaseCtrl's ButtonTypeRadio type.

A button control with a radio box and a text label. This control is used in groups where multiple radio buttons present a range of options out of which one can be chosen. A radio button automatically signals its siblings when it is toggled on.

Example:
// Create a GuiCheckBoxCtrl that calls randomFunction with its current value when clicked.
%radio = new GuiRadioCtrl()
{
   profile = "GuiRadioProfile";
};


Copyright © GarageGames, LLC. All Rights Reserved.