"Wayne Watson" <sierra_mtnv...@sbcglobal.net> wrote

Comments?

class IntVar_GUI:

I just noticed the name of the class. This kind of implies that you are
intending writing GUIs for each data type? That shouldn't be necessary
since the inputs will be strings in each case. You only need to call
the appropriate conversion function when you pull the data back
from the input dialog.

The exception might be if you want a different inpuit mechanism - like
a drop down list or radio button. In that case the number of GUIs you
write is determined by the number of input mechanisms used not
the number of data types... Hopefully the mechanism list is shorter
than the data type list!

Just a thought.


--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to