SExpanderArrow

Expander arrow and indentation component that can be placed in a TableRow of a TreeView.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Views/SExpanderArrow.h

Include

#include "Widgets/Views/SExpanderArrow.h"

Syntax

class SExpanderArrow : public SCompoundWidget

Remarks

Expander arrow and indentation component that can be placed in a TableRow of a TreeView. Intended for use by TMultiColumnRow in TreeViews.

Variables

Name Description

Protected variable

TAttribute< int...

 

BaseIndentLevel

The level in the tree that begins the indention amount

Protected variable

TSharedPtr< SBu...

 

ExpanderArrow

A reference to the expander button

Protected variable

TAttribute< flo...

 

IndentAmount

The amount of space to indent at each level

Protected variable

TWeakPtr< class...

 

OwnerRowPtr

Protected variable

TAttribute< boo...

 

ShouldDrawWires

Whether to draw the wires that visually reinforce the tree hierarchy.

Protected variable

const ISlateSty...

 

StyleSet

The slate style to use

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs,
    const TSharedPtr< class ITableRow >...
)

Protected function Const

const FSlate...

 

GetExpanderImage()

Protected function Const

FMargin

 

GetExpanderPadding()

Protected function Const

EVisibility

 

GetExpanderVisibility()

Protected function

FReply

 

OnArrowClicked()

Invoked when the expanded button is clicked (toggle item expansion)

Overridden from SWidget

Name Description

Protected function Virtual Const

int32

 

OnPaint

(
    const FPaintArgs& Args,
    const FGeometry& AllottedGeometry,
    const FSlateRect& MyCullingRect,
    FSlateWindowElementList& OutDrawEl...,
    int32 LayerId,
    const FWidgetStyle& InWidgetStyle,
    bool bParentEnabled
)

The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children.

Classes

Name

Description

Public struct

FArguments

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss