code: def draw(self, surf):
          '''
          Draw all widgets and sub-containers to @surf.
          '''
          if self.shown:
              for w in self.widgets:
                  surf.blit(w.image, self.convert_rect(w.rect))
              for c in self.containers:
                  c.draw(surff draw(self, surf):
          '''
          Draw all widgets and sub-containers to @surf.
          '''
          if self.shown:
              for w in self.widgets:
                  surf.blit(w.image, self.convert_rect(w.rect))
              for c in self.containers:
                  c.draw(surf)
docs: Draw all widgets and sub-containers to @surf.