Re: Signal to stop reordering a treeview

2011-05-11 Thread Andrew E. Makeev
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. В Втр,

Re: Signal to stop reordering a treeview

2011-05-11 Thread Micah Carrick
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

Signal to stop reordering a treeview

2011-05-10 Thread Micah Carrick
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