Navigation
API > API/Runtime > API/Runtime/SlateCore
FChildren is an interface that must be implemented by all child containers. It allows iteration over a list of any Widget's children regardless of how the underlying Widget happens to store its children.
FChildren is intended to be returned by the GetChildren() method.
| Name | FChildren |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/ChildrenBase.h |
| Include Path | #include "Layout/ChildrenBase.h" |
Syntax
class FChildren
Derived Classes
FChildren derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Layout/ChildrenBase.h | |||
FChildren
(
std::nullptr_t |
Layout/ChildrenBase.h | ||
| Layout/ChildrenBase.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FChildren() |
Layout/ChildrenBase.h |
Structs
| Name | Remarks |
|---|---|
| FConstWidgetRef | |
| FWidgetRef |
Enums
Protected
| Name | Remarks |
|---|---|
| ECopyConstruct | |
| ERefConstruct |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Debug_bIsIteratingChildren | bool | Layout/ChildrenBase.h | ||
| Debug_DestroyedTag | uint8 | Layout/ChildrenBase.h | ||
| Name | FName | Layout/ChildrenBase.h | ||
| Owner | SWidget * | Layout/ChildrenBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ForEachWidget
(
Predicate&& Pred |
Applies the predicate to all the widgets contained by the FChildren. | Layout/ChildrenBase.h | |
void ForEachWidget
(
Predicate&& Pred |
Applies the predicate to all the widgets contained by the FChildren. | Layout/ChildrenBase.h | |
TSharedRef< const SWidget > GetChildAt
(
int32 Index |
Layout/ChildrenBase.h | ||
TSharedRef< SWidget > GetChildAt
(
int32 Index |
Layout/ChildrenBase.h | ||
FName GetName() |
Option to give a name to Children to SlotAttribute purposes or for debugging. | Layout/ChildrenBase.h | |
SWidget & GetOwner() |
Layout/ChildrenBase.h | ||
const FSlotBase & GetSlotAt
(
int32 ChildIndex |
Layout/ChildrenBase.h | ||
int32 Num() |
Layout/ChildrenBase.h | ||
virtual int32 NumSlot() |
Layout/ChildrenBase.h | ||
virtual bool SupportSlotWithSlateAttribute() |
Layout/ChildrenBase.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Debug_TestDestroyTag() |
Layout/ChildrenBase.h | ||
FConstWidgetRef GetChildRefAt
(
int32 Index |
Layout/ChildrenBase.h | ||
FWidgetRef GetChildRefAt
(
int32 Index |
Layout/ChildrenBase.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void * operator new
(
size_t |
Layout/ChildrenBase.h | ||
void * operator new[]
(
size_t |
Layout/ChildrenBase.h |