Message163747
I think that BooleanVar.set(x) should do bool(x) on its argument (and raise an exception if this isn't valid) and BooleanVar.get() should return a bool. Similarly I think that IntVar.set(x) should do int(x) and IntVar.get() should return an int, and that DoubleVar.set(x) should do float(x) and should return a float.
I will mention this issue on tkinter-discuss and encourage people to comment. |
|
Date |
User |
Action |
Args |
2012-06-24 07:36:43 | mark | set | recipients:
+ mark, terry.reedy, gpolo, roger.serwy |
2012-06-24 07:36:43 | mark | set | messageid: <1340523403.11.0.738776452991.issue15133@psf.upfronthosting.co.za> |
2012-06-24 07:36:42 | mark | link | issue15133 messages |
2012-06-24 07:36:42 | mark | create | |
|