Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Layout
Inheritance Hierarchy
- FChildren
- 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
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;
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | AddSlot
(
typename SlotType::FSlotArguments&& SlotArgument |
||
| void | |||
| void | |||
FChildren
(
std::nullptr_t |
|||
| void | InsertSlot
(
typename SlotType::FSlotArguments&& SlotArgument, |
||
| bool | IsValidIndex
(
int32 Index |
||
| void | |||
| int32 | Remove
(
const TSharedRef< SWidget >& SlotWidget |
Removes the corresponding widget from the set of children if it exists. | |
| void | |||
| void | |||
| void | Sort
(
const PREDICATE_CLASS& Predicate |
||
| void | StableSort
(
const PREDICATE_CLASS& Predicate |
||
| void |
Overridden from FChildren
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< const SWidget > | GetChildAt
(
int32 Index |
||
| TSharedRef< SWidget > | GetChildAt
(
int32 Index |
||
| FConstWidgetRef | GetChildRefAt
(
int32 Index |
||
| FWidgetRef | GetChildRefAt
(
int32 Index |
||
| const FSlotBase & | |||
| int32 | Num () |
||
| bool |
Operators
| Type | Name | Description | |
|---|---|---|---|
| SlotType & | operator[]
(
int32 Index |
||
| const SlotType & | operator[]
(
int32 Index |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FScopedWidgetSlotArguments | At the end of the scope a slot will be constructed and added to the FChildren. |
Constants
| Name | Description |
|---|---|
| bSupportSlotWithSlateAttribute |