TSlotlessChildren

Some advanced widgets contain no layout information, and do not require slots.

Windows
MacOS
Linux

Inheritance Hierarchy

FChildren

TArray

TSlotlessChildren

Syntax

template<typename ChildType>
class TSlotlessChildren :
    public FChildren,
    private TArray< TSharedRef< ChildType > >

Remarks

Some advanced widgets contain no layout information, and do not require slots. Those widgets may wish to store a specialized type of child widget. In those cases, using TSlotlessChildren is convenient.

TSlotlessChildren should not be used for general-purpose widgets.

Constructors

Name Description

Public function

TSlotlessChildren

(
    SWidget* InOwner,
    bool InbChangesInvalidatePrepass
)

Functions

Name Description

Public function

int32

 

Add

(
    const TSharedRef< ChildType >& Chi...
)

Public function Const

TArray< TSha...

 

AsArrayCopy()

Public function

void

 

Empty()

Public function Const

int32

 

Find

(
    const TSharedRef< ChildType >& Ite...
)

Public function

void

 

Insert

(
    const TSharedRef< ChildType >& Chi...,
    int32 Index
)

Public function

int32

 

Remove

(
    const TSharedRef< ChildType >& Chi...
)

Public function

void

 

RemoveAt

(
    int32 Index
)

Public function

void

 

Sort

(
    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 TShare...

 

operator[]

(
    int32 Index
)

Public function

TSharedRef< ...

 

operator[]

(
    int32 Index
)

References

Module

SlateCore

Header

Runtime/SlateCore/Public/Layout/Children.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback