GtkTreeModelSort

A GtkTreeModel wrapper that sorts the underlying model.

Object Hierarchy

Implemented Interfaces

Description

The GtkTreeModelSort is a model which sorts a given submodel. It does not hold any data itself, but rather is created with a child model and proxies its data. It has identical column types to this child model, and the changes in the child are propagated. The primary purpose of this model is to provide a way to sort a different model without modifying it.

Constructors

-- Creates a new sortable tree model based on another one.

Methods

clear_cache()
  Clears any cached iterators.
convert_child_iter_to_iter()
  Converts an iterator of the child model to a local one.
convert_child_path_to_path()
  Converts a path in the child model to a local path.
convert_iter_to_child_iter()
  Converts a local iterator to an iterator in the child model.
convert_path_to_child_path()
  Converts a local path into a path of the child model.
get_model()
  Returns the child model.
iter_is_valid()
  Checks if the given iter is valid.
reset_default_sort_func()
  Restores the default (unsorted) state.