[Tutor] Motion

Magnus Lycka magnus@thinkware.se
Sat Dec 21 07:53:01 2002


At 22:55 2002-12-20 -03-30, Adam Vardy wrote:
>You could also have a command to print letters on a graphics screen.
>No point plotting.

Have a look at http://www.nmt.edu/tcc/help/pubs/tkinter.pdf
It talks about canvas text objects. I've typically made more
"office like" forms applications. I've never used Canvas for
real, but rather windows here the texts are standing still...

No big difference though... Put this in a file and run...

from Tkinter import *
import time
root = Tk()
c = Canvas(root)
c.pack()
o = c.create_text(0,0,text="Hello Adam!")
for i in range(100):
     c.move(o,i,i)
     root.update()
     time.sleep(0.1)

root.mainloop()

>It's a quote from the TkInter introduction. I am summarizing how it
>uses plenty of terms that may appear in a chapter of a book I was
>reading, but none of it has sunk in my brain.  So, widgetwhaty, wish
>it was less annoying. Rhetorically speaking.

I can agree that there could be more python documentation in
general and python GUI documentation in particular that is aimed
at people who hasn't done Python programming or other GUI
programming before.

With free software and free documentation, people typcally write
stuff that fills a need that they have--whether it's code or
documents.

>The link was on page 4 of that Introduction.

Try google if a link is dead, and it's probably a good idea
to alert the person responsible for a document or web page with
a dead link.

After all, you're not paying for this, so you can't expect
everything to be served on a silver platter. (Not that it would
be for products you pay for either...)


-- 
Magnus Lycka, Thinkware AB
Alvans vag 99, SE-907 50 UMEA, SWEDEN
phone: int+46 70 582 80 65, fax: int+46 70 612 80 65
http://www.thinkware.se/  mailto:magnus@thinkware.se