[pygtk] treeview drag n drop doesn't work on windows xp pygtk
Giuseppe Penone
giuspen at gmail.com
Tue Jan 11 21:09:42 WST 2011
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110111/e92f6c42/attachment.html>
More information about the pygtk
mailing list