SHyperlink

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]
ForegroundColor Number Array, Length = 4 Linear color values, for example:[0.5, 0.5, 0.5, 1]
OnNavigate String The python code which will be executed.
Padding Number or Number Array (Length = 2 or 4)
Text String
ToolTipText String
Visibility Enum: EVisibility: Visible, Collapsed, Hidden, HitTestInvisible, SelfHitTestInvisible, All

functions what can be called from ChameleonData

FunctionName Description
set_color_and_opacity Set widget's color and opacity.

Examples

Example 1:

    "SHyperlink": 
    {   
        "Style":
        {   
            "Style": "FEditorStyle",
            "StyleName": "Credits.Hyperlink"
        }, 
        "Text": "www.link_to_some_where"
    }

Back to Support Slates