TreeListRowSorter
open class TreeListRowSorter(pointer: <Error class: unknown class><<Error class: unknown class>>) : Sorter
GtkTreeListRowSorter
is a special-purpose sorter that will apply a given sorter to the levels in a tree.
Here is an example for setting up a column view with a tree model and a GtkTreeListSorter
:
column_sorter = gtk_column_view_get_sorter (view);
sorter = gtk_tree_list_row_sorter_new (g_object_ref (column_sorter));
sort_model = gtk_sort_list_model_new (tree_model, sorter);
selection = gtk_single_selection_new (sort_model);
gtk_column_view_set_model (view, G_LIST_MODEL (selection));
Content copied to clipboard
Constructors
Functions
Link copied to clipboard
Notifies all users of the sorter that it has changed.
Link copied to clipboard
fun connectChanged(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (change: SorterChange) -> Unit): <Error class: unknown class>
Emitted whenever the sorter changed.
Link copied to clipboard
Gets the order that @self conforms to.