Unigine.WidgetCheckBox Class
Inherits from: | Widget |
This class creates checkboxes. A set of checkboxes can be converted into a radio buttons group (that act as a single mutually exclusive control), if all the checkboxes are attached to a certain one among them (for example, the first).
The object of this class may look as follows:
See Also#
- Widgets sample in C# Component Samples suite
WidgetCheckBox Class
Properties
string Text#
The checkbox text label.
bool Checked#
The value indicating if the checkbox is selected.
vec4 UncheckedColor#
The four-component vector specifying the color in the RGBA format.
vec4 CheckedColor#
The four-component vector specifying the color in the RGBA format.
Members
WidgetCheckBox ( Gui gui, string str = 0 ) #
Constructor. Creates a checkbox with a given text label and adds it to the specified GUI.Arguments
- Gui gui - GUI, to which the new checkbox will belong.
- string str - Checkbox label. This is an optional parameter.
WidgetCheckBox ( string str = 0 ) #
Constructor. Creates a checkbox with a given text label and adds it to the Engine GUI.Arguments
- string str - Checkbox label. This is an optional parameter.
Last update:
13.12.2024
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter