Hi!
I'm trying to write a program where you can flip a switch, and it changes the color of the switch flipped. I made a GUI with three switches, and put the action as switch, but I don't know what code to put in the defined method switch to change the switches color once pressed.
Thanks!
import ui
def switch (sender):
print "hi"
ui.load_view("tic tac toe.pyui").present("sheet")