Skip to content

pyux.set_on_left_dragmove_handler

fabian-flassig edited this page Oct 14, 2024 · 10 revisions

Sets the on_left_dragmove handler for mouse dragging in the graphics area.

pyui.set_on_left_dragmove_handler(function)

Parameters

Type Description
function function A lua function that is invoked when the mouse is moved during dragging. nil will remove the handler.

Note:

In order to retreive on_left_dragmove and on_left_dragend events, the on_left_dragstart handler has to be set.

See also

Control Gallery, set_on_left_dragstart_handler, set_on_left_dragend_handler, set_on_left_click_handler, set_on_right_click_handler

Clone this wiki locally