[Tkinter-discuss] scrolled canvas ,strange problem

contro opinion contropinion at gmail.com
Sat Sep 3 16:06:57 CEST 2011


i have written a program in tkinter to draw stock  graph,there  are two
strange thing i  can't understand
the  attachment is  'AAU'  data  file(attachment 1).when you download it
,please  save it in  /tmp/AAU
there  is  a  scrolled  canvas  in  it ,

1.strang  long  line,please  see my  attachment.
i  have  see  my  data  ,my  formulation ,no wrong,but the line is so long!!

2.there is  no  motion  event reaction  in  the  right  of  canvas,only
motion event  reaction in the  left  of  canvas.
3.i have round function ,but  the output is still  more  fractions  than  2.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20110903/ae6eaab1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attach1.png
Type: image/png
Size: 69606 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20110903/ae6eaab1/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attach2.png
Type: image/png
Size: 56822 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20110903/ae6eaab1/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: draw.py
Type: text/x-python
Size: 5905 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20110903/ae6eaab1/attachment-0001.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AAU
Type: application/octet-stream
Size: 58806 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20110903/ae6eaab1/attachment-0001.obj>


More information about the Tkinter-discuss mailing list