Navigation
API > API/Developer > API/Developer/ToolWidgets > API/Developer/ToolWidgets/SMessageDialog
| Name | FArguments |
| Type | struct |
| Header File | /Engine/Source/Developer/ToolWidgets/Public/Dialog/SMessageDialog.h |
| Include Path | #include "Dialog/SMessageDialog.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SMessageDialog >
Inheritance Hierarchy
- FSlateBaseNamedArgs → TSlateBaseNamedArgs → SMessageDialog::FArguments
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArguments() |
Dialog/SMessageDialog.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| WidgetArgsType | FArguments | Dialog/SMessageDialog.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
WidgetArgsType & AutoCloseOnButtonPress
(
bool InArg |
Whether to automatically close this window when any button is pressed (default: true) | Dialog/SMessageDialog.h | |
WidgetArgsType & Buttons
(
TArray< FButton > InArg |
The buttons that this dialog should have. One or more buttons must be added. | Dialog/SMessageDialog.h | |
WidgetArgsType & ContentMinWidth
(
const TAttribute< float >& InAttribute |
Minimum width for the text part of the message box. | Dialog/SMessageDialog.h | |
WidgetArgsType & Decorators
(
TArray< TSharedRef< class ITextDecorator > > InArg |
Text decorators used while parsing the rich text messages (requires UseRichText: true) | Dialog/SMessageDialog.h | |
WidgetArgsType & DecoratorStyleSet
(
const ISlateStyle* InArg |
Style set used to look up styles used by decorators for rich text messages (requires UseRichText: true) | Dialog/SMessageDialog.h | |
WidgetArgsType & Icon
(
const FSlateBrush* InArg |
Optional icon to display in the dialog. (default: empty) | Dialog/SMessageDialog.h | |
WidgetArgsType & Message
(
FText InArg |
Message content | Dialog/SMessageDialog.h | |
WidgetArgsType & OnClosed
(
const FSimpleDelegate& InDelegate |
Event triggered when the dialog is closed, either because one of the buttons is pressed, or the windows is closed. | Dialog/SMessageDialog.h | |
WidgetArgsType & ScrollBoxMaxHeight
(
float InArg |
Max height for the scroll box (default: 300) | Dialog/SMessageDialog.h | |
WidgetArgsType & Title
(
FText InArg |
Title to display for the dialog. | Dialog/SMessageDialog.h | |
WidgetArgsType & UseRichText
(
bool InArg |
Whether to use rich-text (true) or plain-text (false) (default: true) | Dialog/SMessageDialog.h | |
WidgetArgsType & UseScrollBox
(
bool InArg |
Should this dialog use a scroll box for over-sized content? (default: true) | Dialog/SMessageDialog.h | |
WidgetArgsType & WindowArguments
(
SWindow::FArguments InArg |
Provides default values for SWindow::FArguments not overriden by SCustomDialog. | Dialog/SMessageDialog.h | |
WidgetArgsType & WrapMessageAt
(
const TAttribute< float >& InAttribute |
When to wrap the message text (default: 512) | Dialog/SMessageDialog.h |