Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Layout
Inheritance Hierarchy
- FChildren
- TWeakChild
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Layout/Children.h |
| Include | #include "Layout/Children.h" |
Syntax
template<typename MixedIntoType>
class TWeakChild : public FChildren
Remarks
Widgets that will only have one child. For widgets that do not own their content, but are responsible for presenting someone else's content. e.g. Tooltips are just presented by the owner window; not actually owned by it. They can go away at any time and then they'll just stop being shown.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AttachWidget
(
const TSharedPtr< SWidget >& InWidget |
||
| void | DetachWidget () |
||
FChildren
(
std::nullptr_t |
|||
| TSharedRef< SWidget > | GetWidget () |
Overridden from FChildren
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< SWidget > | GetChildAt
(
int32 Index |
||
| TSharedRef< const SWidget > | GetChildAt
(
int32 Index |
||
| int32 | Num () |