code: def setCollapsable(self, state):
          
          if self._collapsable == state:
              return
          
          self._collapsable = state
          self.clear()
docs: Sets whether or not this toolbar is collapsable.
          
          :param      state | <bool>