code: def setDataCollector( self, collector ):
          
          if ( collector ):
              self._dataCollectorRef = weakref.ref(collector)
          else:
              self._dataCollectorRef = None
docs: Sets the method that will be used to collect mime data for dragging \
          items from this tree.
          
          :warning    The data collector is stored as a weak-reference, so using \
                      mutable methods will not be stored well.  Things like \
                      instancemethods will not hold their pointer after they \
                      leave the scope that is being used.  Instead, use a \
                      classmethod or staticmethod to define the collector.
          
          :param      collector | <function> || <method> || None