UIElement.onBeginDrag

Called when clicked with left/middle/right button This function is meant to be overriden. Between onBeginDrag and onStopDrag, isDragged will return true.

Note: When a widget is dragged, and "futureMouseDrag" version identifier is used, then a dragged widget is always also isMouseOver.

class UIElement
nothrow @nogc
void
onBeginDrag
()

Examples

you could call beginParamEdit from there or from onMouseClick. You probably have more context in onMouseClick.

Meta