STableRow::OnDragDetected

Called when Slate detects that a widget started to be dragged.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Views/STableRow.h

Include

#include "Widgets/Views/STableRow.h"

Syntax

virtual FReply OnDragDetected
(
    const FGeometry & MyGeometry,
    const FPointerEvent & MouseEvent
)

Remarks

Called when Slate detects that a widget started to be dragged. Usage: A widget can ask Slate to detect a drag. OnMouseDown() reply with FReply::Handled() .DetectDrag( SharedThis(this) ). Slate will either send an OnDragDetected() event or do nothing. If the user releases a mouse button or leaves the widget before a drag is triggered (maybe user started at the very edge) then no event will be sent.

Parameters

Parameter

Description

InMyGeometry

Widget geometry

InMouseEvent

MouseMove that triggered the drag

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback