Package: gtk

Function gtk:tree-model-filter-convert-child-path-to-path

Lambda List

gtk:tree-model-filter-convert-child-path-to-path (filter path)

Arguments

filter -- a gtk:tree-model-filter object
path -- a gtk:tree-path instance to convert

Return Value

The newly allocated gtk:tree-path instance, or nil.

Details

Converts path to a path relative to filter. That is, path points to a path in the child model. The returned path will point to the same row in the filtered model. If path is not a valid path on the child model or points to a row which is not visible in filter, then nil is returned.

Warning

The gtk:tree-model-filter implementation is deprecated since 4.10. Use the gtk:filter-list-model implementation instead.
 

See also

#2024-4-29