FSlateApplication::LocateWidgetInWindow

Given a window, locate a widget under the cursor in it; returns an invalid path if cursor is not over this window.

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::LocateWidgetInWindow()

FSlateApplication::LocateWidgetInWindow()

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

virtual FWidgetPath LocateWidgetInWindow
(
    FVector2D ScreenspaceMouseCoordinate,
    const TSharedRef< SWindow > & Window,
    bool bIgnoreEnabledStatus,
    int32 UserIndex
) const

Remarks

Given a window, locate a widget under the cursor in it; returns an invalid path if cursor is not over this window.

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