PDA

View Full Version : PyGTK - Drag-n-Drop


psychicdragon
January 27th, 2006, 01:23 AM
Anyone have much experience implementing drag-n-drop with PyGTK?

Here's what I want to do:
Drag an item from a gtk.TreeView (in my app) to a file manager (nautilus or whatever)
Create a new file object at the location from the file manager.

The second part is easy. I'm just unsure how I can get the location from the file manager.

Can someone provide me with a code-snippet to look at?

Thanks... :D

woli
February 8th, 2009, 11:26 PM
download the python-gtk2-doc and python-gtk2-tutorial.

Open devhelp and look for Python Gtk 2.0 Tutorial.

Search for "drag and drop"