I guess, you would to use these functions with your model:
gtk_tree_sortable_set_sort_func()
gtk_tree_sortable_set_default_sort_func()
In sorting_callback() you should to return -1 if left TreeIter (a)
represents folder and right TreeIter (b) represents file, and return 1
when reversed.
В Втр,
I'm actually trying to use the treeview's reorderable property (with
no sorting), but now I see in the manual:
This function does not give you any degree of control over the order
-- any reordering is allowed. If more control is needed, you should
probably handle drag and drop manually.
So, I
Is there a way I can stop an automatic treeview reorder based on the target
row? Basically, I have files and folders folders cannot be dropped onto
files (or it they are, the reorder should be ignored).
- Micah
___
gtk-list mailing list