Title: Signature.html
As I've tried to extend a 2000 line program written by someone else, I've moved through some interesting territory. I have made enough changes to the GUI and internal workings to move ahead to the real gold in making changes. I'm now turning to PIL to actually do the important graphics work. This is payoff territory. For my purposes, the IP (image processing modules) are attractive, or anything to do with image manipulation to extract data from the images). In each step I've taken through getting to the application graphics needs, I get the feeling, particularly with Tkinter and PIL, that I'm dealing with antiquated  tools, and documentation. This seems quite true of PIL. Maybe 1.1.7 will save the day--I'm not going to wait.  I touched on Pmw once a few weeks ago when I found Grayson's book on the subject in part on the web. I inquired about Pmw here, and it too looks a little old. Maybe.

I recently bought the book Core Python and decided to look at his section on toolkits. I see Pmw was meant as a replacement for Tkinter. Quoting the author, "[Pmw] was created to address the aging Tkinter." After my grid experience, I hope so. Probably grid is pretty sound, but the documentation I've dug up doesn't seem sufficient. Perhaps grid is still a foundation in Pmw.  Maybe an experienced Python OOP programmer can dig through a lot of the Tkintger library and get a good insight into grid. My view is that it could be better described. Nevertheless, I did find it useful. Continuing, the author briefly describes wxWidgets. Tix, GtK+, PyGTK, FXpy, PyOpenGL. They probably all have a place, and I'm not about to start exploring which is best in my situation by trying them one after the other.

If I had to guess, I might think Pmw might be a good choice to carry the ball into graphics. I base that on looking at the chapter 10 contents I posted a few weeks ago.
   10 Drawing blobs and rubber lines 237
    10.1 Drawing on a canvas 238
             Moving canvas objects 243
    10.2 A more complete drawing program 244
    10.3 Scrolled canvases 251
    10.4 Ruler-class tools 254
    10.5 Stretching canvas objects 258
    10.6 Some finishing touches 262
    10.7 Speed drawing 271
    10.8 Summary 275 
These topics look applicable to my situation.

So here I am wondering if instead of Tkinter or Python, maybe I should take up Pmw or some other toolkits. I'm not excited about uprooting Tkinter and the GUI that has been created from it. Nor do I know if Pmw or another toolkit can live alongside what is already there. Given the sparseness of the PIL documents, I may end up doing a lot of needless experimenting that is available some other way.

Comments?
--
           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)


          The Obama Administration plans to double the production
          in solar energy from 1% to 2% of the total energy
          supply in the next few years. One nuclear reaction
          would do the same. Heard on Bill Wattenburg, KGO-AM

          "Less than all cannot satisfy Man." -- William Blake
          
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to