FSlateApplication::DoesWidgetHaveMouseCapture

Gets whether or not a particular widget has mouse capture.

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::DoesWidgetHaveMouseCapture()

FSlateApplication::DoesWidgetHaveMouseCapture()

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 bool DoesWidgetHaveMouseCapture
(
    const TSharedPtr< const SWidget > Widget
) const

Remarks

Gets whether or not a particular widget has mouse capture.

Returns

True if the widget has mouse capture, otherwise false.

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