class
AArcUIDragDropHost
- Module
- ArcUI
- Header
#include "ArcUI/Widgets/AArcUIDragDropHost.h"- Namespace
Arcf
Type aliases
| Alias | Description |
|---|---|
using FDropHandler = std::function<void(const std::string& eventName, const std::string& payload)> |
Public functions
| Returns | Name | Description |
|---|---|---|
ArcVec2 | ComputeDesiredSize | |
void | ArrangeChildren | |
int32_t | OnPaint | |
const char* | GetTypeName | |
void | SetDragSource | |
void | SetDropTarget | |
void | SetDropHandler | |
bool | IsDragSource | |
bool | IsDropTarget | |
const std::string& | GetDragPayload | |
CReply | OnMouseButtonDown | |
CReply | OnMouseMove | |
CReply | OnMouseButtonUp | |
CReply | OnKeyDown | |
bool | OnDragEnter | |
bool | OnDrop |
Function details
ComputeDesiredSize
C++
ArcVec2 ComputeDesiredSize(float scale) const overrideArrangeChildren
C++
void ArrangeChildren(const CGeometry& geo) overrideOnPaint
C++
int32_t OnPaint(const CArcPaintArgs& args, const CGeometry& geo, CArcUIRenderer& renderer, int32_t layerId) const overrideGetTypeName
C++
const char* GetTypeName() const overrideSetDragSource
C++
void SetDragSource(const std::string& payload, const std::string& ghostIcon)SetDropTarget
C++
void SetDropTarget(bool enabled)SetDropHandler
C++
void SetDropHandler(FDropHandler handler)IsDragSource
C++
bool IsDragSource() constIsDropTarget
C++
bool IsDropTarget() constGetDragPayload
C++
const std::string& GetDragPayload() constOnMouseButtonDown
C++
CReply OnMouseButtonDown(const CGeometry& geo, const CPointerEvent& event) overrideOnMouseMove
C++
CReply OnMouseMove(const CGeometry& geo, const CPointerEvent& event) overrideOnMouseButtonUp
C++
CReply OnMouseButtonUp(const CGeometry& geo, const CPointerEvent& event) overrideOnKeyDown
C++
CReply OnKeyDown(const CGeometry& geo, const CKeyEvent& event) overrideOnDragEnter
C++
bool OnDragEnter(const CGeometry& geo, const CDragDropEvent& event) overrideOnDrop
C++
bool OnDrop(const CGeometry& geo, const CDragDropEvent& event) overrideGenerated from ArcUI/Widgets/AArcUIDragDropHost.h via arcui.json · Nov 4, 2026Version 1.0.0