Carousel.setAllowMouseDrag

void setAllowMouseDrag(bool allowMouseDrag)

Sets whether self can be dragged with mouse pointer.

If allow_mouse_drag is FALSE, dragging is only available on touch.

Parameters

allowMouseDragwhether self can be dragged with mouse pointer