![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SNotificationList.h>
Public Types | |
| using | FVisibilityDelegate = TDelegate< EVisibility(SNotificationItem::ECompletionState)> |
| using | FIsEnabledDelegate = TDelegate< bool(SNotificationItem::ECompletionState)> |
Public Member Functions | |
| FNotificationButtonInfo (const TAttribute< FText > &InText, const TAttribute< FText > &InToolTip, FSimpleDelegate InCallback, SNotificationItem::ECompletionState VisibleInState=SNotificationItem::CS_Pending) | |
| FNotificationButtonInfo (const TAttribute< FText > &InText, const TAttribute< FText > &InToolTip, FSimpleDelegate InCallback, FVisibilityDelegate InVisibilityCallback, FIsEnabledDelegate InIsEnabledCallback=FIsEnabledDelegate()) | |
Setup class to initialize buttons on a notification
| using FNotificationButtonInfo::FIsEnabledDelegate = TDelegate<bool(SNotificationItem::ECompletionState)> |
| using FNotificationButtonInfo::FVisibilityDelegate = TDelegate<EVisibility(SNotificationItem::ECompletionState)> |
|
inline |
|
inline |
| FSimpleDelegate FNotificationButtonInfo::Callback |
Method called when button clicked
| FIsEnabledDelegate FNotificationButtonInfo::IsEnabledCallback |
Method called to decide if the button is enabled; assumes enabled if unbound
| TAttribute<FText> FNotificationButtonInfo::Text |
Message on the button
| TAttribute<FText> FNotificationButtonInfo::ToolTip |
Tip displayed when moused over
| FVisibilityDelegate FNotificationButtonInfo::VisibilityCallback |
Method called to decide if the button if visible; overrides the EVisibility data below if bound
| EVisibility FNotificationButtonInfo::VisibilityOnFail |
Visibility of the button when the completion state of the button is SNotificationItem::ECompletionState::Fail and VisibilityCallback is unbound
| EVisibility FNotificationButtonInfo::VisibilityOnNone |
Visibility of the button when the completion state of the button is SNotificationItem::ECompletionState::None and VisibilityCallback is unbound
| EVisibility FNotificationButtonInfo::VisibilityOnPending |
Visibility of the button when the completion state of the button is SNotificationItem::ECompletionState::Pending and VisibilityCallback is unbound
| EVisibility FNotificationButtonInfo::VisibilityOnSuccess |
Visibility of the button when the completion state of the button is SNotificationItem::ECompletionState::Success and VisibilityCallback is unbound