Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/SWidget
Description
Called when a child is removed from the tree parent's widget tree either by removing it from a slot. This can also be called manually if you've got some non-slot based what of no longer reporting children An example of a widget that needs manual calling is SWidgetSwitcher. It keeps all its children but only arranges and paints a single "active" one. Once a child becomes inactive, its cached data should be removed.
| Name | InvalidateChildRemovedFromTree |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
| Include Path | #include "Widgets/SWidget.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp |
void InvalidateChildRemovedFromTree
(
SWidget & Child
)