I'm trying to implement a DND solution on 2 GTK treeview with a multiple selection. The single selection works well, but as soon as set the gtk_tree_selection_set_mode
to GTK_SELECTION_MULTIPLE
I must change my on_drag_data_get callback(drag-data-get)
.
The gtk_tree_selection_get_selected
only works with a single selection. With the multiple selection I use the gtk_tree_selection_get_selected_rows
to have a glist of selected rows and after I do a g_list_foreach
with a function to set the gtk_selection_data
with gtk_selection_data_set
, but from there I'm lost.