![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ChildrenBase.h>
Inheritance diagram for FChildren:Classes | |
| struct | FConstWidgetRef |
| struct | FWidgetRef |
Public Member Functions | |
| FChildren (SWidget *InOwner) | |
| FChildren (SWidget *InOwner, FName InName) | |
| FChildren (std::nullptr_t)=delete | |
| void * | operator new (size_t)=delete |
| void * | operator new[] (size_t)=delete |
| virtual int32 | Num () const =0 |
| virtual TSharedRef< SWidget > | GetChildAt (int32 Index)=0 |
| virtual TSharedRef< const SWidget > | GetChildAt (int32 Index) const =0 |
| SWidget & | GetOwner () const |
| template<typename Predicate > | |
| void | ForEachWidget (Predicate &&Pred) |
| template<typename Predicate > | |
| void | ForEachWidget (Predicate &&Pred) const |
| virtual int32 | NumSlot () const |
| virtual const FSlotBase & | GetSlotAt (int32 ChildIndex) const =0 |
| virtual bool | SupportSlotWithSlateAttribute () const |
| FName | GetName () const |
Protected Types | |
| enum | ECopyConstruct { CopyConstruct } |
| enum | ERefConstruct { ReferenceConstruct } |
Protected Member Functions | |
| virtual FWidgetRef | GetChildRefAt (int32 Index)=0 |
| virtual FConstWidgetRef | GetChildRefAt (int32 Index) const =0 |
| virtual | ~FChildren () |
| void | Debug_TestDestroyTag () const |
Friends | |
| class | FCombinedChildren |
| template<typename T > | |
| class | TOneDynamicChild |
FChildren is an interface that must be implemented by all child containers. It allows iteration over a list of any Widget's children regardless of how the underlying Widget happens to store its children.
FChildren is intended to be returned by the GetChildren() method.
|
protected |
|
protected |
|
inline |
|
delete |
|
inlineprotectedvirtual |
|
inlineprotected |
There is no guarantee that it will work. The memory could have been reused and the new data can luckily matches what we are looking for.
Applies the predicate to all the widgets contained by the FChildren.
Applies the predicate to all the widgets contained by the FChildren.
|
pure virtual |
Implemented in TWeakChild< ChildType >, TWeakChild< SWidget >, TSingleWidgetChildrenWithSlot< SlotType >, TSingleWidgetChildrenWithSlot< FSingleWidgetChildrenWithSlot >, TSingleWidgetChildrenWithSlot< TSingleWidgetChildrenWithBasicLayoutSlot< EInvalidateWidgetReason::Layout > >, TSingleWidgetChildrenWithSlot< TSingleWidgetChildrenWithBasicLayoutSlot< InPaddingInvalidationReason > >, FCombinedChildren, TPanelChildren< SlotType >, TPanelChildren< FBasicLayoutWidgetSlot >, TPanelChildren< FPopupLayerSlot >, TPanelChildren< FSlot >, TPanelChildren< SBoxPanel::FSlot >, TPanelChildren< SCanvas::FSlot >, TPanelChildren< SConstraintCanvas::FSlot >, TPanelChildren< SGridPanel::FSlot >, TPanelChildren< SListPanel::FSlot >, TPanelChildren< SOverlay::FOverlaySlot >, TPanelChildren< SPrioritizedWrapBox::FSlot >, TPanelChildren< SRadialBox::FSlot >, TPanelChildren< SResponsiveGridPanel::FSlot >, TPanelChildren< SScrollBarTrack::FSlot >, TPanelChildren< SScrollBox::FSlot >, TPanelChildren< SSegmentedControl::FSlot >, TPanelChildren< SSplitter::FSlot >, TPanelChildren< SUniformGridPanel::FSlot >, TPanelChildren< SUniformToolbarPanel::FSlot >, TPanelChildren< SUniformWrapPanel::FSlot >, TPanelChildren< SWrapBox::FSlot >, TSlotlessChildren< ChildType >, TSlotlessChildren< SDockTab >, TSlotlessChildren< SWidget >, TOneDynamicChild< SlotType >, TOneDynamicChild< FBasicLayoutWidgetSlot >, and FNoChildren.
|
pure virtual |
Implemented in TWeakChild< ChildType >, TWeakChild< SWidget >, TSingleWidgetChildrenWithSlot< SlotType >, TSingleWidgetChildrenWithSlot< FSingleWidgetChildrenWithSlot >, TSingleWidgetChildrenWithSlot< TSingleWidgetChildrenWithBasicLayoutSlot< EInvalidateWidgetReason::Layout > >, TSingleWidgetChildrenWithSlot< TSingleWidgetChildrenWithBasicLayoutSlot< InPaddingInvalidationReason > >, FCombinedChildren, TPanelChildren< SlotType >, TPanelChildren< FBasicLayoutWidgetSlot >, TPanelChildren< FPopupLayerSlot >, TPanelChildren< FSlot >, TPanelChildren< SBoxPanel::FSlot >, TPanelChildren< SCanvas::FSlot >, TPanelChildren< SConstraintCanvas::FSlot >, TPanelChildren< SGridPanel::FSlot >, TPanelChildren< SListPanel::FSlot >, TPanelChildren< SOverlay::FOverlaySlot >, TPanelChildren< SPrioritizedWrapBox::FSlot >, TPanelChildren< SRadialBox::FSlot >, TPanelChildren< SResponsiveGridPanel::FSlot >, TPanelChildren< SScrollBarTrack::FSlot >, TPanelChildren< SScrollBox::FSlot >, TPanelChildren< SSegmentedControl::FSlot >, TPanelChildren< SSplitter::FSlot >, TPanelChildren< SUniformGridPanel::FSlot >, TPanelChildren< SUniformToolbarPanel::FSlot >, TPanelChildren< SUniformWrapPanel::FSlot >, TPanelChildren< SWrapBox::FSlot >, TSlotlessChildren< ChildType >, TSlotlessChildren< SDockTab >, TSlotlessChildren< SWidget >, TOneDynamicChild< SlotType >, TOneDynamicChild< FBasicLayoutWidgetSlot >, and FNoChildren.
|
protectedpure virtual |
Implemented in TPanelChildren< SlotType >, TPanelChildren< FBasicLayoutWidgetSlot >, TPanelChildren< FPopupLayerSlot >, TPanelChildren< FSlot >, TPanelChildren< SBoxPanel::FSlot >, TPanelChildren< SCanvas::FSlot >, TPanelChildren< SConstraintCanvas::FSlot >, TPanelChildren< SGridPanel::FSlot >, TPanelChildren< SListPanel::FSlot >, TPanelChildren< SOverlay::FOverlaySlot >, TPanelChildren< SPrioritizedWrapBox::FSlot >, TPanelChildren< SRadialBox::FSlot >, TPanelChildren< SResponsiveGridPanel::FSlot >, TPanelChildren< SScrollBarTrack::FSlot >, TPanelChildren< SScrollBox::FSlot >, TPanelChildren< SSegmentedControl::FSlot >, TPanelChildren< SSplitter::FSlot >, TPanelChildren< SUniformGridPanel::FSlot >, TPanelChildren< SUniformToolbarPanel::FSlot >, TPanelChildren< SUniformWrapPanel::FSlot >, TPanelChildren< SWrapBox::FSlot >, and FCombinedChildren.
|
protectedpure virtual |
Implemented in TPanelChildren< SlotType >, TPanelChildren< FBasicLayoutWidgetSlot >, TPanelChildren< FPopupLayerSlot >, TPanelChildren< FSlot >, TPanelChildren< SBoxPanel::FSlot >, TPanelChildren< SCanvas::FSlot >, TPanelChildren< SConstraintCanvas::FSlot >, TPanelChildren< SGridPanel::FSlot >, TPanelChildren< SListPanel::FSlot >, TPanelChildren< SOverlay::FOverlaySlot >, TPanelChildren< SPrioritizedWrapBox::FSlot >, TPanelChildren< SRadialBox::FSlot >, TPanelChildren< SResponsiveGridPanel::FSlot >, TPanelChildren< SScrollBarTrack::FSlot >, TPanelChildren< SScrollBox::FSlot >, TPanelChildren< SSegmentedControl::FSlot >, TPanelChildren< SSplitter::FSlot >, TPanelChildren< SUniformGridPanel::FSlot >, TPanelChildren< SUniformToolbarPanel::FSlot >, TPanelChildren< SUniformWrapPanel::FSlot >, TPanelChildren< SWrapBox::FSlot >, and FCombinedChildren.
|
inline |
Option to give a name to Children to SlotAttribute purposes or for debugging.
Implemented in FCombinedChildren, TPanelChildren< SlotType >, TPanelChildren< FBasicLayoutWidgetSlot >, TPanelChildren< FPopupLayerSlot >, TPanelChildren< FSlot >, TPanelChildren< SBoxPanel::FSlot >, TPanelChildren< SCanvas::FSlot >, TPanelChildren< SConstraintCanvas::FSlot >, TPanelChildren< SGridPanel::FSlot >, TPanelChildren< SListPanel::FSlot >, TPanelChildren< SOverlay::FOverlaySlot >, TPanelChildren< SPrioritizedWrapBox::FSlot >, TPanelChildren< SRadialBox::FSlot >, TPanelChildren< SResponsiveGridPanel::FSlot >, TPanelChildren< SScrollBarTrack::FSlot >, TPanelChildren< SScrollBox::FSlot >, TPanelChildren< SSegmentedControl::FSlot >, TPanelChildren< SSplitter::FSlot >, TPanelChildren< SUniformGridPanel::FSlot >, TPanelChildren< SUniformToolbarPanel::FSlot >, TPanelChildren< SUniformWrapPanel::FSlot >, and TPanelChildren< SWrapBox::FSlot >.
Implemented in FCombinedChildren, FNoChildren, TWeakChild< ChildType >, TWeakChild< SWidget >, TSingleWidgetChildrenWithSlot< SlotType >, TSingleWidgetChildrenWithSlot< FSingleWidgetChildrenWithSlot >, TSingleWidgetChildrenWithSlot< TSingleWidgetChildrenWithBasicLayoutSlot< EInvalidateWidgetReason::Layout > >, TSingleWidgetChildrenWithSlot< TSingleWidgetChildrenWithBasicLayoutSlot< InPaddingInvalidationReason > >, TPanelChildren< SlotType >, TPanelChildren< FBasicLayoutWidgetSlot >, TPanelChildren< FPopupLayerSlot >, TPanelChildren< FSlot >, TPanelChildren< SBoxPanel::FSlot >, TPanelChildren< SCanvas::FSlot >, TPanelChildren< SConstraintCanvas::FSlot >, TPanelChildren< SGridPanel::FSlot >, TPanelChildren< SListPanel::FSlot >, TPanelChildren< SOverlay::FOverlaySlot >, TPanelChildren< SPrioritizedWrapBox::FSlot >, TPanelChildren< SRadialBox::FSlot >, TPanelChildren< SResponsiveGridPanel::FSlot >, TPanelChildren< SScrollBarTrack::FSlot >, TPanelChildren< SScrollBox::FSlot >, TPanelChildren< SSegmentedControl::FSlot >, TPanelChildren< SSplitter::FSlot >, TPanelChildren< SUniformGridPanel::FSlot >, TPanelChildren< SUniformToolbarPanel::FSlot >, TPanelChildren< SUniformWrapPanel::FSlot >, TPanelChildren< SWrapBox::FSlot >, TSlotlessChildren< ChildType >, TSlotlessChildren< SDockTab >, TSlotlessChildren< SWidget >, TOneDynamicChild< SlotType >, and TOneDynamicChild< FBasicLayoutWidgetSlot >.
Reimplemented in FCombinedChildren.
Reimplemented in TPanelChildren< SlotType >, TPanelChildren< FBasicLayoutWidgetSlot >, TPanelChildren< FPopupLayerSlot >, TPanelChildren< FSlot >, TPanelChildren< SBoxPanel::FSlot >, TPanelChildren< SCanvas::FSlot >, TPanelChildren< SConstraintCanvas::FSlot >, TPanelChildren< SGridPanel::FSlot >, TPanelChildren< SListPanel::FSlot >, TPanelChildren< SOverlay::FOverlaySlot >, TPanelChildren< SPrioritizedWrapBox::FSlot >, TPanelChildren< SRadialBox::FSlot >, TPanelChildren< SResponsiveGridPanel::FSlot >, TPanelChildren< SScrollBarTrack::FSlot >, TPanelChildren< SScrollBox::FSlot >, TPanelChildren< SSegmentedControl::FSlot >, TPanelChildren< SSplitter::FSlot >, TPanelChildren< SUniformGridPanel::FSlot >, TPanelChildren< SUniformToolbarPanel::FSlot >, TPanelChildren< SUniformWrapPanel::FSlot >, and TPanelChildren< SWrapBox::FSlot >.
|
friend |
|
friend |