Module |
|
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
(
const TSharedPtr< SWidget > & InWidget,
const ESlateParentWindowSearchMethod InParentWindowSearchMethod
)
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.