Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/STreeView
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetRootItemsSource
(
const TArray< ItemType >* InItemsSource |
Set the Root items. The tree will generate widgets to represent these items. | Widgets/Views/STreeView.h | |
void SetRootItemsSource
(
TSharedRef< UE::Slate::Containers::TObservableArray< ItemType > > InItemsSource |
Set the RootItemsSource. The tree will generate widgets to represent these items. | Widgets/Views/STreeView.h | |
void SetRootItemsSource
(
TUniquePtr< UE::Slate::ItemsSource::IItemsSource< ItemType > > Provider |
Establishes a new list of root items being observed by the list. | Widgets/Views/STreeView.h |
SetRootItemsSource(const TArray< ItemType > *)
Description
Set the Root items. The tree will generate widgets to represent these items.
| Name | SetRootItemsSource |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Views/STreeView.h |
| Include Path | #include "Widgets/Views/STreeView.h" |
void SetRootItemsSource
(
const TArray < ItemType > * InItemsSource
)
Parameters
| Name | Remarks |
|---|---|
| InItemsSource | A pointer to the array of items that should be observed by this TreeView. |
SetRootItemsSource(TSharedRef< UE::Slate::Containers::TObservableArray< ItemType > >)
Description
Set the RootItemsSource. The tree will generate widgets to represent these items.
| Name | SetRootItemsSource |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Views/STreeView.h |
| Include Path | #include "Widgets/Views/STreeView.h" |
void SetRootItemsSource
(
TSharedRef < UE::Slate::Containers::TObservableArray < ItemType > > InItemsSource
)
Parameters
| Name | Remarks |
|---|---|
| InItemsSource | A pointer to the array of items that should be observed by this TreeView. |
SetRootItemsSource(TUniquePtr< UE::Slate::ItemsSource::IItemsSource< ItemType > >)
Description
Establishes a new list of root items being observed by the list. Wipes all existing state and requests and will fully rebuild on the next tick.
| Name | SetRootItemsSource |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Views/STreeView.h |
| Include Path | #include "Widgets/Views/STreeView.h" |
void SetRootItemsSource
(
TUniquePtr < UE::Slate::ItemsSource::IItemsSource < ItemType > > Provider
)