TPanelChildren

A generic [FChildren](API\Runtime\SlateCore\Layout\FChildren) that stores children along with layout-related information.

Windows
MacOS
Linux

Inheritance Hierarchy

FChildren

TIndirectArray

TPanelChildren

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/Children.h

Include

#include "Layout/Children.h"

Syntax

template<typename SlotType>
class TPanelChildren :
    public FChildren,
    private TIndirectArray< SlotType >

Remarks

A generic FChildren that stores children along with layout-related information. The type containing Widget* and layout info is specified by ChildType. ChildType must have a public member SWidget* Widget;

Constructors

Name Description

Public function

TPanelChildren

(
    SWidget* InOwner
)

Functions

Name Description

Public function

int32

 

Add

(
    SlotType* Slot
)

Public function

void

 

Empty()

Public function

void

 

Insert

(
    SlotType* Slot,
    int32 Index
)

Public function Const

bool

 

IsValidIndex

(
    int32 Index
)

Public function

void

 

Move

(
    int32 IndexToMove,
    int32 IndexToDestination
)

Public function

void

 

RemoveAt

(
    int32 Index
)

Public function

void

 

Reserve

(
    int32 NumToReserve
)

Public function

void

 

Sort

(
    const PREDICATE_CLASS& Predicate
)

Public function

void

 

StableSort

(
    const PREDICATE_CLASS& Predicate
)

Public function

void

 

Swap

(
    int32 IndexA,
    int32 IndexB
)

Overridden from FChildren

Name Description

Public function Virtual

TSharedRef< ...

 

GetChildAt

(
    int32 Index
)

Public function Virtual Const

TSharedRef< ...

 

GetChildAt

(
    int32 Index
)

Public function Virtual Const

int32

 

Num()

Operators

Name Description

Public function Const

const SlotTy...

 

operator[]

(
    int32 Index
)

Public function

SlotType &

 

operator[]

(
    int32 Index
)

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