我正在尝试使tkinter旋转框遍历时间列表。
import tkinter as tk
TimeChoices=["00:00","00:30","04:00","08:30"]
root=tk.Tk()
time=tk.StringVar()
spintimeselector=tk.Spinbox(root,textvariable=time,TimeChoices)
spintimeselector.pack()
root.mainloop
我不确定如何执行此操作,我们将不胜感激!