def _set_folded(self, folded):
    '\n        Set folded notation.\n\n        :param folded: Folded state, see Folded.* enum.\n        '
    if (self._folded == folded):
        return
    self._folded = folded
    if (folded == Folded.NONE):
        movable = True
    else:
        if (self._folded == Folded.PROVIDED):
            icon_size = (self.RADIUS_PROVIDED * 2)
        else:
            icon_size = (self.RADIUS_REQUIRED * 2)
        (self.min_width, self.min_height) = (icon_size, icon_size)
        (self.width, self.height) = (icon_size, icon_size)
        h_nw = self._handles[NW]
        h_se = self._handles[SE]
        h_se.pos.x = (h_nw.pos.x + self.min_width)
        h_se.pos.y = (h_nw.pos.y + self.min_height)
        movable = False
    for h in self._handles:
        h.movable = movable
    self.update_shapes()
Set folded notation.

:param folded: Folded state, see Folded.* enum.
def _set_folded(self, folded):
    '\n        Set folded notation.\n\n        :param folded: Folded state, see Folded.* enum.\n        '
    if (self._folded == folded):
        return
    self._folded = folded
    if (folded == Folded.NONE):
        movable = True
    else:
        if (self._folded == Folded.PROVIDED):
            icon_size = (self.RADIUS_PROVIDED * 2)
        else:
            icon_size = (self.RADIUS_REQUIRED * 2)
        (self.min_width, self.min_height) = (icon_size, icon_size)
        (self.width, self.height) = (icon_size, icon_size)
        h_nw = self._handles[NW]
        h_se = self._handles[SE]
        h_se.pos.x = (h_nw.pos.x + self.min_width)
        h_se.pos.y = (h_nw.pos.y + self.min_height)
        movable = False
    for h in self._handles:
        h.movable = movable
    self.update_shapes()