I have a tkinter spinbox:
sb = Spinbox(frame, from_=1, to=12)
I would like to set the default value of spinbox to 4. How do i do this ?
i have read this thread where Bryan suggests setting
Tkinter.Spinbox(values=(1,2,3,4))
sb.delete(0,"end")
sb.insert(0,2)
But i did not get the logic behind it.
What has delete and insert to do with setting default values ?
Any further insight would be appreciated.
thanks