SSpinBox¶
| Property |
Type |
Note |
| Aka |
String |
Name for the widget |
| ColorAndOpacity |
Number Array, Length = 4 |
Linear color values, for example:[0.5, 0.5, 0.5, 1] |
| Delta |
Number |
|
| ForegroundColor |
Number Array, Length = 4 |
Linear color values, for example:[0.5, 0.5, 0.5, 1] |
| MaxSliderValue |
Number |
|
| MaxValue |
Number |
|
| MinSliderValue |
Number |
|
| MinValue |
Number |
|
| OnValueChanged |
String |
The python code which will be executed.. replacement flag: "%" |
| ToolTipText |
String |
|
| Type |
String |
float or int |
| Value |
Number |
|
| Visibility |
Enum: EVisibility: Visible, Collapsed, Hidden, HitTestInvisible, SelfHitTestInvisible, All |
|
functions what can be called from ChameleonData¶
Examples¶
Example 1:
"SSpinBox":
{
"Type": "int",
"Value": 10,
"MinValue": 1,
"MaxValue": 8192,
"MinSliderValue": 1,
"maxSliderValue": 8192,
"Delta": 1,
"OnValueChanged": "print(%)"
}