PHP-GTK
Friday, October 31, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkTreeModelRowIterator
GtkTreeModelSort Constructornext

Last updated: Sun, 12 May 2013
view this page in English

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.


User Contributed Notes
gtk.gtktreemodelsort.php
add a note about notes
There are no user contributed notes for this page.


previousGtkTreeModelRowIterator
GtkTreeModelSort Constructornext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:51:00 2013 CEST