def test():
    print('Test TFT panel...')
    setup()
    Screen.set_grey_style(desaturate=False)  # dim
    Screen.change(SliderScreen)  # Run it!
Example #2
0
 def cb_style(self, button, desaturate):
     self.lbl_style.value(''.join(('Current style: ', 'grey' if desaturate else 'dim')))
     Screen.set_grey_style(desaturate = desaturate)