Package: gtk

Class gtk:tree-list-row-sorter

Superclasses

gtk:sorter, gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

sorter
The sorter property of type gtk:sorter (Read / Write)
The underlying sorter.

Details

The gtk:tree-list-row-sorter object is a special-purpose sorter that will apply a given sorter to the levels in a tree, while respecting the tree structure.

Examples

Here is an example for setting up a column view with a tree model and a gtk:tree-list-sorter object:
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));    
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

#2023-9-10