Navigation
API > API/Runtime > API/Runtime/Slate
Interface class for an item in the event message list. Real implementation is found in SEventMessageItemImpl
| Name | SNotificationItem |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Notifications/SNotificationList.h |
| Include Path | #include "Widgets/Notifications/SNotificationList.h" |
Syntax
class SNotificationItem : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SNotificationItem
- FSlateControlledConstruction → SWidget → SCompoundWidget → SNotificationItem
Enums
Public
| Name | Remarks |
|---|---|
| ECompletionState |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ExpireAndFadeout() |
Waits for the ExpireDuration then begins to fade out | Widgets/Notifications/SNotificationList.h | |
void Fadeout() |
Begin the fade out | Widgets/Notifications/SNotificationList.h | |
ECompletionState GetCompletionState() |
Gets the visibility state of the throbber, success, and fail images | Widgets/Notifications/SNotificationList.h | |
void Pulse
(
const FLinearColor& GlowColor |
Pulse the notification with a certain outline glow color while it is still pending. | Widgets/Notifications/SNotificationList.h | |
void SetCompletionState
(
ECompletionState State |
Sets the visibility state of the throbber, success, and fail images | Widgets/Notifications/SNotificationList.h | |
void SetExpireDuration
(
float ExpireDuration |
Sets the ExpireDuration | Widgets/Notifications/SNotificationList.h | |
void SetFadeInDuration
(
float FadeInDuration |
Sets the FadeInDuration | Widgets/Notifications/SNotificationList.h | |
void SetFadeOutDuration
(
float FadeOutDuration |
Sets the FadeOutDuration | Widgets/Notifications/SNotificationList.h | |
void SetHyperlink
(
const FSimpleDelegate& InHyperlink, |
Sets the text and delegate for the hyperlink | Widgets/Notifications/SNotificationList.h | |
void SetSubText
(
const TAttribute< FText >& InSubText |
Sets the subtext the notification item. Sub text is used for longer text and is a smaller font | Widgets/Notifications/SNotificationList.h | |
void SetText
(
const TAttribute< FText >& InText |
Sets the text for the notification element | Widgets/Notifications/SNotificationList.h |