TreeSortableImpl
The TreeSortableImpl type represents a native instance of the TreeSortable interface.
Constructors
Properties
Functions
Calls @func on each node in model in a depth-first fashion.
Returns the type of the column.
Returns a set of flags supported by this interface.
Initializes @iter with the first iterator in the tree (the one at the path "0").
Sets @iter to a valid iterator pointing to @path_string, if it exists.
Returns the number of columns supported by @tree_model.
Generates a string representation of the iter.
Returns true if the model has a default sort function. This is used primarily by GtkTreeViewColumns in order to determine if a model can go back to the default state, or not.
Sets @iter to point to the first child of @parent.
Returns true if @iter has children, false otherwise.
Returns the number of children that @iter has.
Sets @iter to be the child of @parent, using the given index.
Sets @iter to be the parent of @child.
Sets @iter to point to the previous node at the current level.
This signal is emitted when a row in the model has changed.
This signal is emitted when a row has been deleted.
This signal is emitted when a row has gotten the first child row or lost its last child row.
This signal is emitted when a new row has been inserted in the model.
This signal is emitted when the children of a node in the GtkTreeModel
have been reordered.
The ::sort-column-changed signal is emitted when the sort column or sort order of @sortable is changed. The signal is emitted before the contents of @sortable are resorted.
Emits the ::row-changed signal on @tree_model.
Emits the ::row-deleted signal on @tree_model.
Emits the ::row-has-child-toggled signal on @tree_model.
Emits the ::row-inserted signal on @tree_model.
Sets the default comparison function used when sorting to be @sort_func. If the current sort column id of @sortable is %GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, then the model will sort using this function.
Sets the current sort column to be @sort_column_id. The @sortable will resort itself to reflect this change, after emitting a GtkTreeSortable::sort-column-changed
signal. @sort_column_id may either be a regular column id, or one of the following special values:
Sets the comparison function used when sorting to be @sort_func. If the current sort column id of @sortable is the same as @sort_column_id, then the model will sort using this function.
Emits a GtkTreeSortable::sort-column-changed
signal on @sortable.