Package: gtk

Function gtk-drag-check-threshold

Lambda List

gtk-drag-check-threshold (widget start-x start-y current-x current-y)

Arguments

widget -- a gtk-widget object
start-x -- an integer with the x coordinate of start of drag
start-y -- an integer with the y coordinate of start of drag
current-x -- an integer with the current x coordinate
current-y -- an integer with the current y coordinate

Return Value

True if the drag threshold has been passed.

Details

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.
 

See also

2021-10-3