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

Function print_selection

tkinterTUT/tk4_listbox.py:16–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14l.pack()
15
16def print_selection():
17 value = lb.get(lb.curselection())
18 var1.set(value)
19
20b1 = tk.Button(window, text='print selection', width=15,
21 height=2, command=print_selection)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected