FSlateWindowHelper::FindPathToWidget

Searches for the specified widget and generates a full path to it.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Application/SlateWindowHelper.h

Include

#include "Application/SlateWindowHelper.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Application/SlateWindowHelper.cpp

Syntax

static bool FindPathToWidget
(
    const TArray< TSharedRef< SWindow >> & WindowsToSearch,
    TSharedRef< const SWidget > InWidget,
    FWidgetPath & OutWidgetPath,
    EVisibility VisibilityFilter
)

Remarks

Searches for the specified widget and generates a full path to it.

Note: this is a relatively slow operation!

Returns

True if the widget path was found.

Parameters

Parameter

Description

InWidget

Widget to generate a path to.

OutWidgetPath

The generated widget path.

VisibilityFilter

Widgets must have this type of visibility to be included the path.

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