[Tkinter-discuss] ttk.Spinbox missing?

Michael Lange klappnase at web.de
Thu Jun 14 12:30:59 CEST 2012

Thus spoketh Mark Summerfield <list at qtrac.plus.com> 
unto us on Thu, 14 Jun 2012 07:54:25 +0100:

> Wow! I hadn't known about the register() method.
> AFAIK it isn't in the Tcl/Tk or Tkinter documentation.
> (Which makes me wonder what else is missing?)
> Incidentally, in the example above, the '%s' and old value are
> redundant.

You're right, I copy'n'pasted that code again, from a more complex
example; in the original code I use the "old" value as a kind of "backup"
that is used in situations when get() is called while the spinbox is
empty, the old value is then used to make sure get() always returns
something useful.



.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

A father doesn't destroy his children.
		-- Lt. Carolyn Palamas, "Who Mourns for Adonais?",
		   stardate 3468.1.

More information about the Tkinter-discuss mailing list