Gtk.TreeSortable.prototype.set_sort_column_id
function set_sort_column_id(sort_column_id:Number, order:Gtk.SortType):void { // Gjs wrapper for gtk_tree_sortable_set_sort_column_id() }
Sets the current sort column to be sort_column_id. The sortable will resort itself to reflect this change, after emitting a Gtk.sort-column-changed signal. sort_column_id may either be a regular column id, or one of the following special values: <variablelist> <varlistentry> <term>%GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID</term> <listitem>the default sort function will be used, if it is set</listitem> </varlistentry> <varlistentry> <term>%GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID</term> <listitem>no sorting will occur</listitem> </varlistentry> </variablelist>
- sort_column_id
the sort column id to set
- order
The sort order of the column