example code sought

2004-12-18 Thread Sean McIlroy
There's something quite simple I'd like to do, but I'm hampered by lack of knowledge regarding Tkinter. If someone could help me out with a snippet of maximally-simple code showing, in general terms, how to do this, that would be really great. What I want to do is simply to move a shape around on t

Re: example code sought

2004-12-19 Thread Gary Richardson
"Sean McIlroy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > There's something quite simple I'd like to do, but I'm hampered by > lack of knowledge regarding Tkinter. If someone could help me out with > a snippet of maximally-simple code showing, in general terms, how to > do this,

RE: example code sought

2004-12-19 Thread Walter S. Leipold
Sean McIlroy wrote: > What I want to do is simply to move a shape around on > the screen using the mouse. I've looked at Tkdnd.py but > I can't seem to extract what I need from the more involved > stuff in there. Here's a simple sample that displays random rectangles that can be dragged around