From: Gary P. <gp...@ri...> - 2004-02-04 18:26:16
|
I've been experimenting with Tkinter and Pmw (Python mega widgets) to= =20 provide widgets to control and modify visual apps in real time. I've= =20 also played with using Blt to display real time graphs in a Tkinter= =20 frame. My starting point was David Anderson's Tk-Visual.py, one of th= e=20 demos that comes with the standard visual distrubution. I've got two-way communication going between visual and Tkinter, and= =20 graphs running in a Tkinter frame. Get it here: http://enigma.rider.edu/~gpajer/python.htm We have plusses and minuses. On the plus side, we add fast graphing, = no=20 timing glitches on Mac OSX, the large variety of control and display= =20 widgets in Tkinter and Pmw. On the minus side we must live with a more involved set up, learning = to=20 use Tkinter, learning to use Blt. It=92s not for everyone, but for those who are looking for more=20 flexibility and another graphing option: here you go. Warning: there seems to be a Pmw.Blt bug that is preventing me from= =20 turning off lines connecting data symbols. You'll see what I mean if = you=20 get the demo running. Warning: Blt is a bit of a pain to install on Windows. Try following = the=20 instructions on my website. I wrote them from memory. When I get back= to=20 my Windows machine I'll check and see how good my memory was. Good Luck, Gary Pajer |