<div class="gmail_quote"><br clear="all">Hello,
<div><br></div><div>I have been trying to move my image using the object.move(x,y) function by maintaining a list of instances corresponding to each image. I have done this using MIMEdata class.</div><div><br></div><div>
The aim of the code is to implement drag and drop and then if one block is in vicinity of other block, snap fit it together. The problem is that the list( self.l) that maintains the new coordinates of the image gets edited as and when the block is in some other block's vicinity but it does not move to the new position. </div>
<div><br></div><div>I am attaching the code. Please see why the block does not update the move when lines 238-241 are executed.</div><div><br></div><div><br></div><div>Test condition: The code is still incomplete and to test those line please initially shift all the blocks one by one to any arbitrary location so that the new position with each block has an entry in the list (self.l)</div>
<div><br></div><div>Please help me out on this. I've been trying this code for a week now :( .</div>
</div><br><br clear="all">Here's the link to the file: <a href="http://rapidshare.com/files/373087514/Archive.zip">http://rapidshare.com/files/373087514/Archive.zip</a>