Skip to main content
Version: 4.16

GraphDragEvent

An object of this type is passed with each callback that is sent when the graph is dragged. The object contains the data index that was pressed and the details of the drag event, e.g. old and new screen coordinates.

Public Functions#

GraphDragEvent(int16_t i, const DragEvent & event)
Initializes a new instance of the GraphDragEvent class.

Public Attributes#

const DragEvent &dragEvent
The DragEvent that caused the callback to be executed.
int16_tindex
The index of the item where the drag has ended.

Public Functions Documentation#

GraphDragEvent#

GraphDragEvent(int16_ti ,
const DragEvent &event
)

Initializes a new instance of the GraphDragEvent class.

Parameters:
iThe index of the item where the drag has ended.
eventThe DragEvent that caused the callback to be executed.
See also:

Public Attributes Documentation#

dragEvent#

const DragEvent & dragEvent

The DragEvent that caused the callback to be executed.

index#

int16_t index

The index of the item where the drag has ended.