FArguments

Unreal Engine C++ API Reference > Developer > ToolWidgets > Dialog > SMessageDialog

Inheritance Hierarchy

References

   
Module ToolWidgets
Header /Engine/Source/Developer/ToolWidgets/Public/Dialog/SMessageDialog.h
Include #include "Dialog/SMessageDialog.h"

Syntax

struct FArguments : public [TSlateBaseNamedArgs< SMessageDialog >](API\Runtime\SlateCore\Widgets\TSlateBaseNamedArgs)  

Constructors

Type Name Description
  FArguments ()  

Functions

Type Name Description
WidgetArgsTy... AutoCloseOnButtonPress ( bool InArg ) Whether to automatically close this window when any button is pressed (default: true)
WidgetArgsTy... Buttons ( TArray< FButton > InArg ) The buttons that this dialog should have. One or more buttons must be added.
WidgetArgsTy... Icon ( const FSlateBrush* InArg ) Optional icon to display in the dialog. (default: empty)
WidgetArgsTy... Message ( FText InArg ) Message content
WidgetArgsTy... OnClosed ( const FSimpleDelegate& InDelegate ) Event triggered when the dialog is closed, either because one of the buttons is pressed, or the windows is closed.
WidgetArgsTy... ScrollBoxMaxHeight ( int32 InArg ) Max height for the scroll box (default: 300)
WidgetArgsTy... Title ( FText InArg ) Title to display for the dialog.
WidgetArgsTy... UseScrollBox ( bool InArg ) Should this dialog use a scroll box for over-sized content? (default: true)
WidgetArgsTy... WindowArguments ( SWindow::FArguments InArg ) Provides default values for SWindow::FArguments not overriden by SCustomDialog.
WidgetArgsTy... WrapMessageAt ( const TAttribute< float >& InAttri... ) When to wrap the message text (default: 512)

Typedefs

Name Description
WidgetArgsType  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library