Hi all, I'm using Drag and Drop on TreeViews, and I wanted to know is there was a way to detect if a drop occurs between two lines in my TreeView (rather than *on* a line).
For now, I retreive the element on which I've dropped the other element by calling the 'treeview.get_path_at_pos()' with the 'drop event' coordinates, and then by using the returned path. Actually, I'd like to know if the drop occurs *between* two lines or *on* a line to either insert the dragged element as a sibling (in the "between" case), or insert it as a child of the element on which I dropped my element (in the "on" case). I'm sure there's a way to do this, any help would be appreciated. Thanks. -- Adrien Di Mascio LOGILAB, Paris (France). http://www.logilab.com http://www.logilab.fr http://www.logilab.org _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
