MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / toggle_tongue

Function toggle_tongue

Screenpet/screenpet.py:29–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 c.crossed_eyes = False
28
29def toggle_tongue():
30 if not c.tongue_out:
31 c.itemconfigure(tongue_tip, state = NORMAL)
32 c.itemconfigure(tongue_main, state = NORMAL)
33 c.tongue_out = True
34 else:
35 c.itemconfigure(tongue_tip, state = HIDDEN)
36 c.itemconfigure(tongue_main, state = HIDDEN)
37 c.tongue_out = False
38
39def cheeky(event):
40 toggle_tongue()

Callers 1

cheekyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected