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