Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Application > API/Runtime/Slate/Framework/Application/FSlateApplication
References
Module | Slate |
Header | /Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
Include | #include "Framework/Application/SlateApplication.h" |
Source | /Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp |
void AddModalWindow
&40;
TSharedRef< SWindow > InSlateWindow,
const TSharedPtr< const SWidget > InParentWidget,
bool bSlowTaskWindow
&41;
Remarks
Adds a modal window to the application. In most cases, this function does not return until the modal window is closed (the only exception is a modal window for slow tasks)
Parameters
Name | Description |
---|---|
InSlateWindow | A SlateWindow to which to add a native window. |
InParentWindow | The parent of the modal window. All modal windows must have a parent. |
bSlowTaskWindow | true if the window is for a slow task and this function should return before the window is closed |