Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Renderable
- - View
- - SectionList
- class SectionList(View):
- def render(self, area, msg, x1, y1, x2, y2):
- View.renderBackground(self, area, x1, y1, x2, y2)
- for section in self._sections:
- section.render(area, msg, x1, y1, x2, y2)
- # instead of View.render()
- Renderable.render(self, area, msg, x1, y1, x2, y2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement