I would like to drag an drop multiple lines in a tree view / list store. DnD works perfectly with single lines.So does te selection of multiple lines.

But whenever I try to drag a complete selection of multiple lines to another place in the list, just one of the lines is moved.

Example:My list store has 50 lines, enumerated from 1 to 50. I select lines 5-7. I drag those lines and drop them after line 30. As a result, I would like to have a sucession of lines like ...29-30-5-6-7-31-32.... But instead, only line 7 is moved, and the sucession is ...29-30-7-31-32....

Is the tree view / list store construction not capable of treatind dnd with multiple lines, or am I doing something wrong ?

I have never tried doing multiple DND of lines in a treeview, but if you are using the convenience function gtk_tree_view_set_reorderable () you will not have very much control over what is done. And most likely will only be able to move one row at a time.

If you want to move more rows at a time, you will probably need to add to the DND interface to allow that to happen.

Who is online

Users browsing this forum: No registered users and 4 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum