def setClickState(self, clickState):
        if self.isClickable():
            self.applyClickState(clickState)
        else:
            self.applyClickState(PGButton.SInactive)

        Clickable2d.setClickState(self, clickState)
    def setClickState(self, clickState):
        if self.isClickable():
            self.applyClickState(clickState)
        else:
            self.applyClickState(PGButton.SInactive)

        Clickable2d.setClickState(self, clickState)
Esempio n. 3
0
 def setClickState(self, clickState):
     self.applyClickState(clickState)
     if self.isHovering() or self.whisperPopup.isHovering():
         self.contents.show()
     elif self.clickState == PGButton.SDepressed:
         self.contents.show()
     else:
         self.contents.hide()
     Clickable2d.setClickState(self, clickState)
Esempio n. 4
0
    def setClickState(self, clickState):
        self.applyClickState(clickState)

        if self.isHovering() or self.whisperPopup.isHovering():
            self.contents.show()
        elif self.clickState == PGButton.SDepressed:
            self.contents.show()
        else:
            self.contents.hide()

        Clickable2d.setClickState(self, clickState)
Esempio n. 5
0
 def setClickState(self, clickState):
     if self.isClickable():
         self.applyClickState(clickState)
     else:
         self.applyClickState(PGButton.SInactive)
     if self.isHovering() or self.quitButton.isHovering():
         self.quitButton.contents.show()
     elif self.quitButton.getClickState() == PGButton.SDepressed:
         self.quitButton.contents.show()
     else:
         self.quitButton.contents.hide()
     Clickable2d.setClickState(self, clickState)
Esempio n. 6
0
    def setClickState(self, clickState):
        if self.isClickable():
            self.applyClickState(clickState)
        else:
            self.applyClickState(PGButton.SInactive)

        if self.isHovering() or self.quitButton.isHovering():
            self.quitButton.contents.show()
        elif self.quitButton.getClickState() == PGButton.SDepressed:
            self.quitButton.contents.show()
        else:
            self.quitButton.contents.hide()

        Clickable2d.setClickState(self, clickState)