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
startX | X coordinate of start of drag |
startY | Y coordinate of start of drag |
currentX | current X coordinate |
currentY | current Y coordinate |
Returns
true if the drag threshold has been passed.