SWrapBox::RemoveSlot

Removes a slot from this box panel which contains the specified [SWidget](API\Runtime\SlateCore\Widgets\SWidget)

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SWrapBox.h

Include

#include "Widgets/Layout/SWrapBox.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/Layout/SWrapBox.cpp

Syntax

int32 RemoveSlot
(
    const TSharedRef< SWidget > & SlotWidget
)

Remarks

Removes a slot from this box panel which contains the specified SWidget

Returns

The index in the children array where the slot was removed and -1 if no slot was found matching the widget

Parameters

Parameter

Description

SlotWidget

The widget to match when searching through the slots

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss