SSlider

SSlider

Property Type Note
Aka String Name for the widget
Locked Bool
OnValueChanged String The python code which will be executed.. replacement flag: "%"
Orientation String Enum: EOrientation: Vertical, Horizontal
Text String
ToolTipText String
Value Number
Visibility Enum: EVisibility: Visible, Collapsed, Hidden, HitTestInvisible, SelfHitTestInvisible, All

functions what can be called from ChameleonData

FunctionName Description
set_float_value Set integer value to widget: SSpinBox.
get_float_value Get integer value from widget: SSpinBox.

Examples

Example 1:

    "SSlider":
    {
        "Orientation": "Horizontal",
        "Value": 0.5,
        "Locked": false,
        "OnValueChanged": "print(%)"
    }

Back to Support Slates