Cheryl Sabella added the comment:
With keeping it a StringVar, there is an issue where it writes a blank (ie, bad
data) to the config file. Steps to reproduce:
- Go into config dialog and click 'General' tab.
- Delete value from 'Auto squeeze min line'
- Click apply or OK. A warning message
New submission from Terry J. Reedy :
Spinoff from #31414, about int entry fields. It claims: Note: a deeper problem
is attaching a tracer that get called with each keystroke. Using a StringVar
avoids the error when the entry is blanked, but currently allows non-ints to be
saved. A better s