Navigation
API > API/Runtime > API/Runtime/SlateCore
A FChildren that has only one child and can take a templated slot.
| Name | TSingleWidgetChildrenWithSlot |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Children.h |
| Include Path | #include "Layout/Children.h" |
Syntax
template<typename SlotType>
class TSingleWidgetChildrenWithSlot :
public FChildren ,
protected TSlotBase< SlotType >
Inheritance Hierarchy
- FChildren → TSingleWidgetChildrenWithSlot
- FSlotPosition → FSlotBase → TSlotBase → TSingleWidgetChildrenWithSlot
- FSlotBase → TSlotBase → TSingleWidgetChildrenWithSlot
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSingleWidgetChildrenWithSlot
(
SWidget* InOwner |
Layout/Children.h | ||
TSingleWidgetChildrenWithSlot
(
std::nullptr_t |
Layout/Children.h | ||
TSingleWidgetChildrenWithSlot
(
SWidget* InOwner, |
Layout/Children.h |
Structs
| Name | Remarks |
|---|---|
| FSlotArguments |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Layout/Children.h | |||
| Layout/Children.h | |||
void Construct
(
FSlotArguments&& InArgs |
Layout/Children.h | ||
SlotType & Expose
(
SlotType*& OutVarToInit |
Layout/Children.h |
Overridden from FChildren
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< SWidget > GetChildAt
(
int32 Index |
Layout/Children.h | ||
virtual TSharedRef< const SWidget > GetChildAt
(
int32 Index |
Layout/Children.h | ||
virtual int32 Num() |
Layout/Children.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SlotType & operator[]
(
const TSharedRef< SWidget >& InChildWidget |
Layout/Children.h |