예제 #1
0
 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)
예제 #3
0
    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)
예제 #4
0
    def update(self):
        self.contents.node().removeAllChildren()

        Nametag.update(self)
예제 #5
0
    def update(self):
        self.contents.node().removeAllChildren()

        Nametag.update(self)
예제 #6
0
 def update(self):
     self.removeContents()
     Nametag.update(self)
예제 #7
0
 def update(self):
     self.removeContents()
     Nametag.update(self)