Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets > API/Runtime/SlateCore/Widgets/SWidget
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
| Include | #include "Widgets/SWidget.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp |
virtual FReply OnDrop
(
const FGeometry & MyGeometry,
const FDragDropEvent & DragDropEvent
)
Remarks
Called when the user is dropping something onto a widget; terminates drag and drop. A reply that indicated whether this event was handled.
Parameters
| Name | Description |
|---|---|
| MyGeometry | The geometry of the widget receiving the event. |
| DragDropEvent | The drag and drop event. |