Widget.dragCheckThreshold

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.

class Widget
bool
dragCheckThreshold
(
int startX
,
int startY
,,)

Parameters

startX int

X coordinate of start of drag

startY int

Y coordinate of start of drag

currentX int

current X coordinate

currentY int

current Y coordinate

Return: %TRUE if the drag threshold has been passed.

Meta