code: def updateStretch(self):
      ##Set the stretch values for this container to reflect its contents
      x = 0
      y = 0
      for i in range(self.count()):
          wx, wy = self.widget(i).stretch()
          x = max(x, wx)
          y = max(y, wy)
      self.setStretch(x, y)
  
imports: import weakref
  from ..Qt import QtCore, QtWidgets
  from .Dock import Dock
label_desc: Use image node_id 8 for calling the TContainer obj's underlying member method code with example usage: obj.updateStretch() without return types