SWindow::IsDescendantOf

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

Choose your operating system:

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