![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateDelegates.h>
Public Attributes | |
| ArgumentType | |
| FIsSelectableOrNavigable | |
| ArgumentType ArgumentType TSlateDelegates< ArgumentType >::DECLARE_DELEGATE_OneParam | ( | FOnMouseButtonDoubleClick | , |
| ArgumentType | |||
| ) |
param: The item that was double-clicked on Called when the user double-clicks on an item in a tree or list Invoked when someone clicks on a hyperlink.
| TSlateDelegates< ArgumentType >::DECLARE_DELEGATE_OneParam | ( | FOnRefreshRow | , |
| ArgumentType | |||
| ) |
A delegate to be invoked to update an existing item (or its containing widget) when the owning view is invalidated.
| TSlateDelegates< ArgumentType >::DECLARE_DELEGATE_RetVal_OneParam | ( | FString | , |
| FOnItemToString_Debug | , | ||
| ArgumentType | |||
| ) |
Useful for debugging issues with table views.
| TSlateDelegates< ArgumentType >::DECLARE_DELEGATE_RetVal_OneParam | ( | TSharedRef< SWidget > | , |
| FOnGenerateWidget | , | ||
| ArgumentType | |||
| ) |
A delegate type for OnGenerateWidget handler. Given a data item, the handler should return a Widget visualizing that item
| TSlateDelegates< ArgumentType >::DECLARE_DELEGATE_RetVal_TwoParams | ( | TSharedRef< class ITableRow > | , |
| FOnGenerateRow | , | ||
| ArgumentType | , | ||
| const TSharedRef< class STableViewBase > & | |||
| ) |
The advanced version of OnGenerateWidget. You are given the reference to the owning list/tree and asked to return the appropriate container widget.
| ArgumentType TSlateDelegates< ArgumentType >::DECLARE_DELEGATE_TwoParams | ( | FOnExpansionChanged | , |
| ArgumentType | , | ||
| bool | |||
| ) |
param: The newly selected value Called when the user clicks on an item in a tree or list
| TSlateDelegates< ArgumentType >::DECLARE_DELEGATE_TwoParams | ( | FOnItemScrolledIntoView | , |
| ArgumentType | , | ||
| const TSharedPtr< ITableRow > & | |||
| ) |
A delegate to be invoked when an item has come into view after it was requested to come into view. A delegate for the OnGetChildren handler. Given a data item, populate an output array with its children if it has any.
| TSlateDelegates< ArgumentType >::DECLARE_DELEGATE_TwoParams | ( | FOnSelectionChanged | , |
| ArgumentType | , | ||
| ESelectInfo::Type | |||
| ) |
A delegate type invoked when a selection changes somewhere. A delegate type to control if a item is selectable or navigable.
| TArray< ArgumentType > & TSlateDelegates< ArgumentType >::DECLARE_DELEGATE_TwoParams | ( | FOnSetExpansionRecursive | , |
| ArgumentType | , | ||
| bool | |||
| ) |
A delegate for the OnSetExpansionRecursive handler. Given a data item, recursively expand/collapse its children.
| TSlateDelegates< ArgumentType >::ArgumentType |
params: A data item and an array to populate with the item's children.
| TSlateDelegates< ArgumentType >::FIsSelectableOrNavigable |