Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MorvanZhou/tutorials
/ moveit
Function
moveit
tkinterTUT/tk8_canvas.py:22–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
canvas.pack()
21
22
def
moveit():
23
canvas.move(rect, 0, 2)
24
25
b = tk.Button(window, text=
'move'
, command=moveit).pack()
26
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected