IdeSymbolTree: gnome-builder Reference Manual

## IdeSymbolTree IdeSymbolTree |

## Functions

#define | IDE_TYPE_SYMBOL_TREE
guint | ide_symbol_tree_get_n_children ()
IdeSymbolNode * | ide_symbol_tree_get_nth_child ()

## Types and Values

struct | IdeSymbolTreeInterface
| IdeSymbolTree

## Object Hierarchy

        GInterface
        ╰── IdeSymbolTree

## Prerequisites

IdeSymbolTree requires GObject.

## Description

## Functions

### IDE_TYPE_SYMBOL_TREE

    #define IDE_TYPE_SYMBOL_TREE (ide_symbol_tree_get_type ())

### ide_symbol_tree_get_n_children ()

    guint
    ide_symbol_tree_get_n_children (IdeSymbolTree *self,
                                    IdeSymbolNode *node);

Get the number of children of `node` . If `node` is NULL, the root node is assumed.

#### Returns

An unsigned integer containing the number of children.

### ide_symbol_tree_get_nth_child ()

    IdeSymbolNode *
    ide_symbol_tree_get_nth_child (IdeSymbolTree *self,
                                   IdeSymbolNode *node,
                                   guint nth);

Gets the `nth` child node of `node` .

#### Returns

A IdeSymbolNode or `NULL`.

[transfer full][nullable]

## Types and Values

### struct IdeSymbolTreeInterface

    struct IdeSymbolTreeInterface {
      GTypeInterface parent;

      guint          (*get_n_children) (IdeSymbolTree *self,
                                        IdeSymbolNode *node);
      IdeSymbolNode *(*get_nth_child)  (IdeSymbolTree *self,
                                        IdeSymbolNode *node,
                                        guint          nth);
    };

### IdeSymbolTree

    typedef struct _IdeSymbolTree IdeSymbolTree;