gtkDragCheckThreshold {RGtk2}R Documentation

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 [GtkWidget] a GtkWidget
start.x [integer] X coordinate of start of drag
start.y [integer] Y coordinate of start of drag
current.x [integer] current X coordinate
current.y [integer] current Y coordinate

Value

[logical] TRUE if the drag threshold has been passed.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]