FSlateApplicationBase::FindPathToWidget

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

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::FindPathToWidget()

FSlateApplication::FindPathToWidget()

References

Module

SlateCore

Header

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

Include

#include "Application/SlateApplicationBase.h"

Syntax

bool FindPathToWidget
(
    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