Language:
Discover
By Skill Level
By Category

SBreadcrumbTrail

Choose your OS:

Inheritance Hierarchy

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

Name Description

Public function

void

 

ClearCrumbs

(
    bool bPopAllCrumbsToClear
)

Removes all crumbs from the crumb box

Public function

void

 

Construct

(
    const FArguments & InArgs
)

Constructs this widget with InArgs

Public function

void

 

GetAllCrumbData

(
    TArray < ItemType >& CrumbData
)

Gets all the crumb data in the trail

Public function

bool

 

HasCrumbs()

Returns true if there are any crumbs in the trail.

Public function

int32

 

NumCrumbs()

Returns the number of crumbs in the trail.

Public function

ItemType

 

PeekCrumb()

Peeks at the end crumb in the trail. Returns the crumb data.

Public function

ItemType

 

PopCrumb()

Pops a crumb off the end of the trail. Returns the crumb data.

Public function

void

 

PushCrumb

(
    const TAttribute < FText >& CrumbTe...,
    const ItemType& NewCrumbData
)

Adds a crumb to the end of the trail.

Classes

Name

Description

Public struct

FArguments

Typedefs

Name

Description

FGetCrumbMenuContent

Callback for getting the menu content to be displayed when clicking on a crumb's delimiter arrow

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

FOnGetCrumbColor

References

Module

Slate

Header

Runtime/Slate/Public/SlateFwd.h