Matthew Hemke <mghe...@gmail.com> added the comment:

What about adding a validatecommand option like on Tkinter.Entry?

For what I am trying to do it was sort of a kludge to validate the entry 
because an empty string was invalid, but in the interface design, it would have 
been "rude" to validate after the dialog closes and then keep popping up 
another tkSimpleDialog.askstring until the input is correct. It almost makes 
askstring useless because I can't validate on close.

That wouldn't break backwards compatibility would it?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12723>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to