Navigation
API > API/Runtime > API/Runtime/Slate
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SBreadcrumbTrail
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/SlateFwd.h |
| Include | #include "SlateFwd.h" |
Syntax
template<typename ItemType>
class SBreadcrumbTrail : public SCompoundWidget
Remarks
A breadcrumb trail. Allows the user to see their currently selected path and navigate upwards.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ClearCrumbs
(
bool bPopAllCrumbsToClear |
Removes all crumbs from the crumb box | |
| void | Construct
(
const FArguments& InArgs |
Constructs this widget with InArgs | |
| void | GetAllCrumbData
(
TArray< ItemType >& CrumbData |
Gets all the crumb data in the trail | |
| bool | HasCrumbs () |
Returns true if there are any crumbs in the trail. | |
| int32 | NumCrumbs () |
Returns the number of crumbs in the trail. | |
| ItemType | PeekCrumb () |
Peeks at the end crumb in the trail. Returns the crumb data. | |
| ItemType | PopCrumb () |
Pops a crumb off the end of the trail. Returns the crumb data. | |
| void | PushCrumb
(
const TAttribute< FText >& CrumbText, |
Adds a crumb to the end of the trail. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |
Typedefs
| Name | Description |
|---|---|
| FGetCrumbMenuContent | Callback for getting the menu content to be displayed when clicking on a crumb's delimiter arrow |
| FHasCrumbMenuContent | Callback for checking whether the menu to be displayed when clicking on a crumb's delimiter arrow would have any content |
| FOnCrumbClicked | Callback for when a crumb in the trail has been clicked |
| FOnCrumbPopped | Callback for when a crumb has been popped off the trail |
| FOnCrumbPushed | Callback for when a crumb has been pushed on the trail |