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 |
TSharedRef< SWindow > AddWindowAsNativeChild
(
TSharedRef< SWindow > InSlateWindow,
TSharedRef< SWindow > InParentWindow,
const bool bShowImmediately
)
Associates a top level Slate Window with a native window, and "natively" parents that window to the specified Slate window. Although the window still a top level window in Slate, it will be considered a child window to the operating system.
a reference to the SWindow that was just added.
Parameter |
Description |
---|---|
InSlateWindow |
A Slate window to which to add a native window. |
InParentWindow |
Slate window that the window being added should be a native child of |
bShowImmediately |
True to show the window. Pass false if you're going to call ShowWindow() yourself later. |