def setDown(self, down):
        if down != self.isDown():
            self.toggleDown()
Sets whether this button is down.
dataset/ETHPy150Open anandology/pyjamas/library/pyjamas/ui/CustomButton.py/CustomButton.setDown