pyux.start_left_drag - pytha-3d-cad/pytha-lua-api GitHub Wiki

Starts dragging with the left mouse button in the graphics area if the set_on_left_dragstart_handler has been set.

pyui.start_left_drag()

Note:

This function will call the on_left_dragstart handler as soon as the mouse is in the graphics area.

This function is specific to the current modal environment / dialog and can only be set within a dialog.

Set the on_left_dragstart, on_left_dragmove and on_left_dragend handler before calling start_left_drag.

See also

Control Gallery, set_on_left_dragstart_handler, set_on_left_dragmove_handler, set_on_left_dragend_handler, set_on_left_click_handler, set_on_right_click_handler, show_cursor_crosshair