Hi,

I successfully tested the example
http://www.pygtk.org/pygtk2tutorial/examples/treeviewdnd.py
on my linux distro but then when I tested on windows xp pygtk installation
the internal drag n drop was not working (no errors from the command line).
You can modify treeviewdnd.py adding the following lines at the end of the
__init__():

self.liststore.append(["line 1"])
self.liststore.append(["line 2"])
self.liststore.append(["line 3"])
self.liststore.append(["line 4"])

to have the list already filled up with no need to add elements so that you
can immediatly try to reorder the rows with drag n drop.

what I found out is that the callbacks drag_data_get_data and
drag_data_received_data are never called.
I tried with pygtk on python 2.6 and 2.7 with the latest versions of the
installers, but no way and never a message from the console.

Regards,
Giuseppe.
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to