Bootstrap Chameleon Logo

SBreadcrumbTrail

SBreadcrumbTrail

Property Type Note
Aka String Name for the widget
ButtonContentPadding Number or Number Array (Length = 2 or 4)
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]
OnCrumbClick String The python code which will be executed.
ToolTipText String
Type String string or int
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.
push_breadcrumb_string Set item to SBreadcrumbTrail.
pop_breadcrumb_string Pop a item from SBreadcrumbTrail.
clear_breadcrumbs_string Clear all items from SBreadcrumbTrail.
get_breadcrumbs_count_string Get items's count from SBreadcrumbTrail.

Examples

Example 1:

    "SBreadcrumbTrail":
    {
        "Aka": "SBreadcrumbTrailA",
        "type": "string",
        "ButtonContentPadding": 1,
        "OnCrumbClick": "print(%)"
    }