Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Notifications
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Notifications/SNotificationList.h |
| Include | #include "Widgets/Notifications/SNotificationList.h" |
Syntax
struct FNotificationButtonInfo
Remarks
Setup class to initialize buttons on a notification
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSimpleDelegate | Callback | Method called when button clicked | |
| FIsEnabledDelegate | IsEnabledCallback | Method called to decide if the button is enabled; assumes enabled if unbound | |
| TAttribute< FText > | Text | Message on the button | |
| TAttribute< FText > | ToolTip | Tip displayed when moused over | |
| FVisibilityDelegate | VisibilityCallback | Method called to decide if the button if visible; overrides the EVisibility data below if bound | |
| EVisibility | VisibilityOnFail | Visibility of the button when the completion state of the button is SNotificationItem::ECompletionState::Fail and VisibilityCallback is unbound | |
| EVisibility | VisibilityOnNone | Visibility of the button when the completion state of the button is SNotificationItem::ECompletionState::None and VisibilityCallback is unbound | |
| EVisibility | VisibilityOnPending | Visibility of the button when the completion state of the button is SNotificationItem::ECompletionState::Pending and VisibilityCallback is unbound | |
| EVisibility | VisibilityOnSuccess | Visibility of the button when the completion state of the button is SNotificationItem::ECompletionState::Success and VisibilityCallback is unbound |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNotificationButtonInfo
(
const TAttribute< FText >& InText, |
|||
FNotificationButtonInfo
(
const TAttribute< FText >& InText, |
Typedefs
| Name | Description |
|---|---|
| FIsEnabledDelegate | |
| FVisibilityDelegate |