def render(self): CairoWidget.render(self) for x in self.get_children(): glPushMatrix() x.render() glPopMatrix()