y_drag_threshold


Description:

[ NoAccessorMethod ]
public int y_drag_threshold { get; set; }

The vertical threshold, in pixels, that the cursor must travel in order to begin a drag action.

When set to a positive value, DragAction will only emit drag_begin if the pointer has moved vertically at least of the given amount of pixels since the button press event.

When set to -1, DragAction will use the value stored in the dnd_drag_threshold property of Settings.

When read, this property will always return a valid drag threshold, either as set or the default one.