Learn R Programming

RGtk2 (version 2.20.31)

gtkDragCheckThreshold: gtkDragCheckThreshold

Description

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.

Usage

gtkDragCheckThreshold(object, start.x, start.y, current.x, current.y)

Arguments

object
start.x
X coordinate of start of drag
start.y
Y coordinate of start of drag
current.x
current X coordinate
current.y
current Y coordinate

Value

TRUE if the drag threshold has been passed.