fltk_tree_item_depth

fnint fltk_tree_item_depth(TreeItemPtr item)

Gets the depth of an item (0 for root).