The third parameter of drag_begin() should be 1, not gtk.gdk.BUTTON1_MASK. This constant is a *mask* to test if a particular bit is set in a field of bits, it's not the value that represents mouse button 1. If I change that, the D'n'D works fine for me.
On 10/31/07, Jeffrey Barish <[EMAIL PROTECTED]> wrote: > I'm still stuck on this problem, so I created a test program. It evinces > the same behavior. I suppose that there is a difference between my > programs and the one that Francois wrote, but I'm not seeing it. In the > test program, DnD works fine when I allow the treeview to initiate it > automatically (set MANUAL to False). When I set MANUAL to True, it is no > longer possible to drag a row to a new location (it is not possible to > release the drag). Any help appreciated. _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/