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 |
TSharedPtr< SWindow > FindBestParentWindowForDialogs
&40;
const TSharedPtr< SWidget > & InWidget,
const ESlateParentWindowSearchMethod InParentWindowSearchMethod
&41;
Remarks
Given an optional widget, try and get the most suitable parent window to use with dialogs (such as file and directory pickers). This will first try and get the window that owns the widget (if provided), before falling back to using the MainFrame window.