def _set_background(self): if u'__background__' in self: del self['__background__'] self['__background__'] = Rect(self.left, self.top, self.width, self.height, color=self.background_color.colorspec, fill=True) Canvas.lower_to_bottom(self, u'__background__')
def lower_to_bottom(self, element): Canvas.lower_to_bottom(self, element) Canvas.lower_to_bottom(self, u'__background__')