Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Layout
Inheritance Hierarchy
- FChildren
- FCombinedChildren
- FNoChildren
- TOneDynamicChild
- TPanelChildren
- TSingleWidgetChildrenWithSlot
- FSingleWidgetChildrenWithSlot
- TSingleWidgetChildrenWithBasicLayoutSlot
- FSingleWidgetChildrenWithBasicLayoutSlot
- SCompoundWidget::FCompoundWidgetOneChildSlot
- TSlotlessChildren
- TWeakChild
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Layout/ChildrenBase.h |
| Include | #include "Layout/ChildrenBase.h" |
Syntax
class FChildren
Remarks
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.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FChildren
(
std::nullptr_t |
|||
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FChildren () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | ForEachWidget
(
Predicate&& Pred |
Applies the predicate to all the widgets contained by the FChildren. | |
| void | ForEachWidget
(
Predicate&& Pred |
Applies the predicate to all the widgets contained by the FChildren. | |
| TSharedRef< const SWidget > | GetChildAt
(
int32 Index |
||
| TSharedRef< SWidget > | GetChildAt
(
int32 Index |
||
| FConstWidgetRef | GetChildRefAt
(
int32 Index |
||
| FWidgetRef | GetChildRefAt
(
int32 Index |
||
| FName | GetName () |
Option to give a name to Children to SlotAttribute purposes or for debugging. | |
| SWidget & | GetOwner () |
||
| const FSlotBase & | |||
| int32 | Num () |
||
| int32 | NumSlot () |
||
| bool |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void * | operator new
(
size_t |
||
| void * | operator new[]
(
size_t |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FConstWidgetRef | |||
| FWidgetRef |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ECopyConstruct | |||
| ERefConstruct |