I have a tkinter spinbox:
sb = Spinbox(frame, from_=1, to=12)
I would like to set the default value for spinbox to 4. How do I do this?
I read this topic where Brian suggests installing
Tkinter.Spinbox(values=(1,2,3,4)) sb.delete(0,"end") sb.insert(0,2)
But I did not have logic.
What to remove and insert to set default values?
Any further understanding will be appreciated.
thanks
source share