SWindow::IsDescendantOf

Returns whether or not this window is a descendant of the specfied parent window

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h

Include

#include "Widgets/SWindow.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWindow.cpp

Syntax

bool IsDescendantOf
(
    const TSharedPtr< SWindow > & ParentWindow
) const

Remarks

Returns whether or not this window is a descendant of the specfied parent window

Returns

true if the window is a child of ParentWindow, false otherwise.

Parameters

Parameter

Description

ParentWindow

The window to check

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss