cPickle And DnD

Are you wanting to drag/drop between two different apps or within the same app? If the latter, you should be able to Reparent() the button.

···

andrea.gavana@agip.it wrote:

Hello NG,

      I have a (possibly) simple question. In all samples about Drag and
Drop I found, only text, images and simple lines (plots) were used as data
for drag and drop operations. I was wondering, is there a way to implement
a drag and drop for controls, like buttons, panels, and so on? I mean,
would it be possible to drag a button from a frame to another frame? I was
thinking about using cPickle, but I have no idea on how to store buttons,
panels and generally widgets data in a format "pickable" by cPickle?
Does anyone have some suggestions?

--
Paul McNett
http://paulmcnett.com
http://dabodev.com