set_drag_threshold


Description:

public void set_drag_threshold (int x_threshold, int y_threshold)

Sets the horizontal and vertical drag thresholds that must be cleared by the pointer before this can begin the dragging.

If x_threshold or y_threshold are set to -1 then the default drag threshold stored in the dnd_drag_threshold property of Settings will be used.

Parameters:

this

a DragAction

x_threshold

a distance on the horizontal axis, in pixels, or -1 to use the default drag threshold from Settings

y_threshold

a distance on the vertical axis, in pixels, or -1 to use the default drag threshold from Settings




2022 vala-language.org