def display(self): glTranslatef(*self.pos) CairoWidget.display(self) glPushMatrix() self.get_active_child().display() glPopMatrix()