set_drag_threshold
Description:
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 | |
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 |