Navigation
API > API/Developer > API/Developer/ToolWidgets > API/Developer/ToolWidgets/Dialog > API/Developer/ToolWidgets/Dialog/SMessageDialog
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SMessageDialog::FArguments
References
| Module | ToolWidgets |
| Header | /Engine/Source/Developer/ToolWidgets/Public/Dialog/SMessageDialog.h |
| Include | #include "Dialog/SMessageDialog.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SMessageDialog >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | AutoCloseOnButtonPress
(
bool InArg |
Whether to automatically close this window when any button is pressed (default: true) | |
| WidgetArgsType & | The buttons that this dialog should have. One or more buttons must be added. | ||
| WidgetArgsType & | Icon
(
const FSlateBrush* InArg |
Optional icon to display in the dialog. (default: empty) | |
| WidgetArgsType & | Message content | ||
| 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. | |
| WidgetArgsType & | ScrollBoxMaxHeight
(
int32 InArg |
Max height for the scroll box (default: 300) | |
| WidgetArgsType & | Title to display for the dialog. | ||
| WidgetArgsType & | UseScrollBox
(
bool InArg |
Should this dialog use a scroll box for over-sized content? (default: true) | |
| WidgetArgsType & | WindowArguments
(
SWindow::FArguments InArg |
Provides default values for SWindow::FArguments not overriden by SCustomDialog. | |
| WidgetArgsType & | WrapMessageAt
(
const TAttribute< float >& InAttribute |
When to wrap the message text (default: 512) |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |