drag_check_threshold


Description:


public bool drag_check_threshold (Widget widget, int start_x, int start_y, int current_x, int current_y)

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.

Parameters:

this

a Widget

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

Returns:

true if the drag threshold has been passed.


Namespace: Gtk
Package: gtk+-3.0



2022 vala-language.org