FSlateApplicationBase::FindPathToWidget

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

Choose your operating system:

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.

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