Package: gtk

Function gtk:drag-check-threshold

Lambda List

gtk:drag-check-threshold (widget xstart ystart xcurrent ycurrent)

Arguments

source -- a gtk:drag-source object
xstart -- an integer with the x coordinate of start of drag
ystart -- an integer with the y coordinate of start of drag
xcurrent -- an integer with the current x coordinate
ycurrent -- 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 (xstart, ystart) and ending at (xcurrent, ycurrent) has passed the GTK drag threshold, and thus should trigger the beginning of a drag-and-drop operation.
 

See also

#2023-7-31