Message197873
> I am presuming that tk truncates fractional parts as int() does; if not, use round().
Tk uses both truncated and rounded value.
$ rlwrap wish
% canvas .c
.c
% .c configure -width 10.1
% .c configure -width
-width width Width 10c 10
% .c configure -width 10.9
% .c configure -width
-width width Width 10c 11
As you can see 10.9 gives both 10c and 11. |
|
Date |
User |
Action |
Args |
2013-09-16 07:02:03 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, kbk, gpolo, r.david.murray, asvetlov, hans.bering, BreamoreBoy |
2013-09-16 07:02:03 | serhiy.storchaka | set | messageid: <1379314923.07.0.245972898817.issue12558@psf.upfronthosting.co.za> |
2013-09-16 07:02:03 | serhiy.storchaka | link | issue12558 messages |
2013-09-16 07:02:02 | serhiy.storchaka | create | |
|