SOLVED Drag and Drop Gradient Data onto a Gradient

Note that I have asked this question before but I got no answer. So I am asking again to try to get a clear answer.

What data do I need to pass into GeUserArea::HandleMouseDrag so that I can allow dragging and dropping my own gradients onto a Gradient?

I have a list of GradientKnots. I want to allow dragging and dropping of this data into a Gradient.

What should the DRAGTYPE be? And what should the data be?

Thanks,
Kent

edit: The mentioned previous topic [ added by @ferdinand ]

Hi,

i forgot to answer/confirm that yes, there's no way.

Cheers,
Manuel

Hi,

the dragtype must be DRAGTYPE_BROWSER but the data type must be SDKBrowserDragInfo and cannot be created. Internally it's built from BrowserDragInfo that is not public and cast to SDKBrowserDragInfo .

the passed object is cast to SDKBrowserDragInfo in the HandleDragReceivePreset function.

Cheers,
Manuel

@m_magalhaes so what your saying is there is absolutely no way for a developer to create a drag drop event at all for gradients.

I would like to formally request a way to allow us to drop a Gradient, or list of GradientKnots, onto a Gradient in the UI.

DRAGTYPE_GRADIENT

Cheers,
Kent

Hi,

i forgot to answer/confirm that yes, there's no way.

Cheers,
Manuel

Hello @kbar,

without any further questions, we will consider this topic as solved by Monday, the 25th and flag it accordingly.

Thank you for your understanding,
Ferdinand