SWidgetSwitcher::AddSlot

Adds a slot to the widget switcher at the specified location.

Windows
MacOS
Linux

References

Module

Slate

Header

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

Include

#include "Widgets/Layout/SWidgetSwitcher.h"

Source

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

Syntax

FSlot & AddSlot
(
    int32 SlotIndex
)

Remarks

Adds a slot to the widget switcher at the specified location.

Parameters

Parameter

Description

SlotIndex

The index at which to insert the slot, or INDEX_NONE to append.

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