Hi! Today I was playing around with dnd in the treeview and found that the info passed to drag_data_get_cb(widget, drag_context, selection_data, info, time, data) is always 0. The same occurs with drag_data_received_cb(widget, drag_context, x, y, selection_data, info, time, data):
>From what i've learned in the tutorial, and when using dnd with other
widgets, the info value should be the third value of the target (i.e,
[('text/plain', flags, info)]) defined and passed to
treeview.enable_model_drag_{source,dest}(), shouldn't it?
I'm attaching a changed version of the treeviewdnd.py example from the
tutorial, that prints the selection_data.target and the info values
inside both functions. If you try it with different drag sources, you'll
see that the target changes while the info is still 0.
Do I misunderstood something or my observations are correct and I should
file a bug report?
Thanks,
Guilherme
--
This email has been inspected by Hans Blix, who has reported that no
weapons of mass destruction were used in its construction.
Read his report here:
<http://www.un.org/apps/news/infocusnewsiraq.asp?NewsID=414&sID=6>
treeviewdnd.py
Description: application/python
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
