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