x_drag_threshold


Description:

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

The horizontal 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 horizontally at least of the given amount of pixels since the button press event.

When set to -1, DragAction will use the default threshold 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.