def update(self): self.contents.node().removeAllChildren() Nametag.update(self) if self.cell is not None: self.reposition() self.updateClickRegion() elif self.region is not None: self.region.setActive(False)
def update(self): self.contents.node().removeAllChildren() Nametag.update(self) if self.cell is not None: # We're in the margin display. Reposition our content, and update # the click region: self.reposition() self.updateClickRegion() else: # We aren't in the margin display. Disable the click region if one # is present: if self.region is not None: self.region.setActive(False)
def update(self): self.contents.node().removeAllChildren() Nametag.update(self)
def update(self): self.removeContents() Nametag.update(self)