Widget.dragCheckThreshold

bool dragCheckThreshold(int startX, int startY, int currentX, int currentY)

Checks to see if a mouse drag starting at (start_x, start_y) and ending at (current_x, current_y) has passed the GTK+ drag threshold, and thus should trigger the beginning of a drag-and-drop operation.

Parameters

startXX coordinate of start of drag
startYY coordinate of start of drag
currentXcurrent X coordinate
currentYcurrent Y coordinate

Returns

true if the drag threshold has been passed.