RGtk2 (version 2.20.31)

gtkCTreePreRecursiveToDepth: gtkCTreePreRecursiveToDepth

Description

Recursively apply a function to nodes up to a certain depth. The function is called for each node after it has been called for that node's children. WARNING: gtk_ctree_pre_recursive_to_depth is deprecated and should not be used in newly-written code.

Usage

gtkCTreePreRecursiveToDepth(object, node, depth, func, data = NULL)

Arguments

object
The node where to start.
node
The maximum absolute depth for applying the function. If depth is negative, this function just calls gtkCTreePostRecursive.
depth
The function to apply to each node.
func
A closure argument given to each invocation of the function.
data
undocumented