def drawOn(self, canv): #make a frame frame = Frame(self.x, self.y, self.width, self.height) frame.showBoundary = self.showBoundary #build a story for the frame story = [] for thingy in self.content: #ask it for any flowables story.append(thingy.getFlowable()) #draw it frame.addFromList(story, canv)
def drawOn(self, canv): # make a frame frame = Frame(self.x, self.y, self.width, self.height) frame.showBoundary = self.showBoundary # build a story for the frame story = [] for thingy in self.content: # ask it for any flowables story.append(thingy.getFlowable()) # draw it frame.addFromList(story, canv)