SListView::SetSelection

Set the currently selected Item.

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Views/SListView.h

Include

#include "Widgets/Views/SListView.h"

Syntax

void SetSelection
(
    ItemType SoleSelectedItem,
    ESelectInfo::Type SelectInfo
)

Remarks

Set the currently selected Item.

Parameters

Parameter

Description

SoleSelectedItem

Sole item that should be selected.

SelectInfo

Provides context on how the selection changed

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