| FSlateControlledConstruction | ||||
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/SWeakWidget.h |
Include |
#include "Widgets/SWeakWidget.h" |
class SWeakWidget : public SWidget
Implements a widget that holds a weak pointer to one child widget.
Weak widgets encapsulate a piece of content without owning it. e.g. A tooltip is owned by the hovered widget but displayed by a floating window. That window cannot own the tooltip and must therefore use an SWeakWidget.
Name | Description | |
---|---|---|
|
SWeakWidget() |
Name | Description | ||
---|---|---|---|
|
ChildWidgetIsValid() |
||
|
Construct ( |
||
|
GetChildWidget() |
||
|
SetContent ( |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
Compute the ideal size necessary to display this widget. |
|
|
FChildren &#... |
GetChildren() |
Every widget that has children must implement this method. |
|
OnArrangeChildren ( |
Compute the Geometry of all the children and add populate the ArrangedChildren list with their values. |
|
|
OnPaint ( |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
Name |
Description |
|
---|---|---|
|
FArguments |