gtkDragCheckThreshold: gtkDragCheckThreshold

Description Usage Arguments Value Author(s)

View source: R/gtkFuncs.R

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

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

Arguments

object

a GtkWidget

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

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

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.