TPanelChildren::Remove

Removes the corresponding widget from the set of children if it exists.

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/Children.h

Include

#include "Layout/Children.h"

Syntax

int32 Remove
(
    const TSharedRef< SWidget > & SlotWidget
)

Remarks

Removes the corresponding widget from the set of children if it exists. Returns the index it found the child at, INDEX_NONE otherwise.