parameters: (self, drag, recursive = False)
docstring: Set the shape to be draggable or not draggable.
docstring_summary: Set the shape to be draggable or not draggable.
docstring_tokens: Set the shape to be draggable or not draggable .
function: def SetDraggable(self, drag, recursive = False):
          """Set the shape to be draggable or not draggable."""
          self._draggable = drag
          if drag:
              self._sensitivity |= OP_DRAG_LEFT
          elif self._sensitivity & OP_DRAG_LEFT:
              self._sensitivity -= OP_DRAG_LEFT
  
          if recursive:
              for shape in self._children:
                  shape.SetDraggable(drag, True)
function_tokens: def SetDraggable ( self , drag , recursive = False ) : self . _draggable = drag if drag : self . _sensitivity |= OP_DRAG_LEFT elif self . _sensitivity & OP_DRAG_LEFT : self . _sensitivity -= OP_DRAG_LEFT if recursive : for shape in self . _children : shape . SetDraggable ( drag , True )