Navigation
API > API/Runtime > API/Runtime/Slate
A TileView widget is a list which arranges its items horizontally until there is no more space then creates a new row. Items are spaced evenly horizontally.
| Name | STileView |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Views/STileView.h |
| Include Path | #include "Widgets/Views/STileView.h" |
Syntax
template<typename ItemType>
class STileView : public SListView< ItemType >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → STableViewBase → SListView → STileView
- FSlateControlledConstruction → SWidget → SCompoundWidget → STableViewBase → SListView → STileView
- TListTypeTraits< T, Enable >::SerializerType → SListView → STileView
- SListView → STileView
- STileView
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
STileView
(
ETableViewMode::Type InListMode |
Widgets/Views/STileView.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FIsSelectableOrNavigable | TSlateDelegates< ItemType >::FIsSelectableOrNavigable | Widgets/Views/STileView.h | |
| FOnGenerateRow | TSlateDelegates< ItemType >::FOnGenerateRow | Widgets/Views/STileView.h | |
| FOnItemScrolledIntoView | TSlateDelegates< ItemType >::FOnItemScrolledIntoView | Widgets/Views/STileView.h | |
| FOnItemToString_Debug | TSlateDelegates< ItemType >::FOnItemToString_Debug | Widgets/Views/STileView.h | |
| FOnMouseButtonClick | TSlateDelegates< ItemType >::FOnMouseButtonClick | Widgets/Views/STileView.h | |
| FOnMouseButtonDoubleClick | TSlateDelegates< ItemType >::FOnMouseButtonDoubleClick | Widgets/Views/STileView.h | |
| FOnRefreshRow | TSlateDelegates< ItemType >::FOnRefreshRow | Widgets/Views/STileView.h | |
| FOnSelectionChanged | TSlateDelegates< NullableItemType >::FOnSelectionChanged | Widgets/Views/STileView.h | |
| FOnWidgetToBeRemoved | typename SListView< ItemType >::FOnWidgetToBeRemoved | Widgets/Views/STileView.h | |
| NullableItemType | TListTypeTraits< ItemType >::NullableType | Widgets/Views/STileView.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const typename STileView< ItemType >::FArguments& InArgs |
Construct this widget | Widgets/Views/STileView.h |
Overridden from STableViewBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 GetNumItemsBeingObserved() |
Widgets/Views/STileView.h | ||
virtual STableViewBase::FReGenerateResults ReGenerateItems
(
const FGeometry& MyGeometry |
Update generate Widgets for Items as needed and clean up any Widgets that are no longer needed. | Widgets/Views/STileView.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FNavigationReply OnNavigation
(
const FGeometry& MyGeometry, |
Widgets/Views/STileView.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTableViewDimensions GetTileDimensions() |
Widgets/Views/STileView.h |
Overridden from STableViewBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 GetNumItemsPerLine () |
Get the number of items that can fit in the view along the line axis (orthogonal to the scroll axis) before creating a new line. | Widgets/Views/STileView.h | |
virtual float ScrollBy
(
const FGeometry& MyGeometry, |
Scroll the list view by some number of screen units. | Widgets/Views/STileView.h | |
virtual SListView< ItemType >::EScrollIntoViewResult ScrollIntoView
(
const FGeometry& ListViewGeometry |
If there is a pending request to scroll an item into view, do so. | Widgets/Views/STileView.h |