MCPcopy Create free account
hub / github.com/MorvanZhou/tutorials / print_selection

Function print_selection

tkinterTUT/tk6_scale.py:15–16  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

13l.pack()
14
15def print_selection(v):
16 l.config(text='you have selected ' + v)
17
18s = tk.Scale(window, label='try me', from_=5, to=11, orient=tk.HORIZONTAL,
19 length=200, showvalue=0, tickinterval=2, resolution=0.01, command=print_selection)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected