FSlateApplication::FindMenuInWidgetPath

Attempt to locate a menu that contains the specified widget

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h

Include

#include "Framework/Application/SlateApplication.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp

Syntax

TSharedPtr< IMenu > FindMenuInWidgetPath
(
    const FWidgetPath & InWidgetPath
) const

Remarks

Attempt to locate a menu that contains the specified widget

Returns

the menu in which the widget resides, or nullptr

Parameters

Parameter

Description

InWidgetPath

Path to the widget to use for the search

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