Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ close
Function
close
recipes/Python/576959_Boids_20_for_Python_31/recipe-576959.py:58–59 ·
view source on GitHub ↗
(event=None)
Source
from the content-addressed store, hash-verified
56
# Define the closing event handler.
57
if
COME_BACK < 0:
58
def
close(event=None):
59
root.destroy()
60
else
:
61
def
close(event=None):
62
if
COME_BACK:
Callers
2
recipe-115419.py
File · 0.50
close
Method · 0.50
Calls
3
sleep
Function · 0.85
destroy
Method · 0.45
values
Method · 0.45
Tested by
no test coverage detected