summaryrefslogtreecommitdiff
path: root/gtk/gtkcolumnview.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkcolumnview.c')
-rw-r--r--gtk/gtkcolumnview.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkcolumnview.c b/gtk/gtkcolumnview.c
index 9ba7db6c2b..2828682436 100644
--- a/gtk/gtkcolumnview.c
+++ b/gtk/gtkcolumnview.c
@@ -1689,6 +1689,13 @@ gtk_column_view_get_sorter (GtkColumnView *self)
* on @column to associate a sorter with the column.
*
* If @column is %NULL, the view will be unsorted.
+ *
+ * This function can be called multiple times to set up
+ * sorting with multiple columns:
+ *
+ * gtk_column_view_sort_by_column (view, NULL, 0);
+ * gtk_column_view_sort_by_column (view, col1, GTK_SORT_DESCENDING);
+ * gtk_column_view_sort_by_column (view, col0, GTK_SORT_ASCENDING);
*/
void
gtk_column_view_sort_by_column (GtkColumnView *self,