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 ChildType>
class TWeakChild : public FChildren
Remarks
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 () |
||
| TSharedRef< SWidget > | GetWidget () |
Overridden from FChildren
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< SWidget > | GetChildAt
(
int32 Index |
||
| TSharedRef< const SWidget > | GetChildAt
(
int32 Index |
||
| int32 | Num () |