Index

Package: Gnodes

Description

package Glib.Gnodes is

Packages

Gnode_Data (generic)

Types

Gnode

type Gnode is new C_Proxy;

Subprograms & Entries

Child_Position

function Child_Position 
(Node: in Gnode;
Child: in Gnode) return Gint;

Depth

function Depth 
(Node: in Gnode) return Guint;

Destroy

procedure Destroy 
(Node: in out Gnode);

First_Child

function First_Child 
(Node: in Gnode) return Gnode;

First_Sibling

function First_Sibling 
(Node: in Gnode) return Gnode;

Get_Root

function Get_Root 
(Node: in Gnode) return Gnode;

Insert

procedure Insert 
(Parent: in out Gnode;
Position: in Gint;
Node: in out Gnode);

Insert_Before

procedure Insert_Before 
(Parent: in out Gnode;
Sibling: in out Gnode;
Node: in out Gnode);

Is_Ancestor

function Is_Ancestor 
(Node: in Gnode;
Descendant: in Gnode) return Boolean;

Is_Leaf

function Is_Leaf 
(Node: in Gnode) return Boolean;

Is_Root

function Is_Root 
(Node: in Gnode) return Boolean;

Last_Child

function Last_Child 
(Node: in Gnode) return Gnode;

Last_Sibling

function Last_Sibling 
(Node: in Gnode) return Gnode;

Max_Height

function Max_Height 
(Root: in Gnode) return Guint;

N_Nodes

function N_Nodes 
(Root: in Gnode;
Flags: in Glib_Traverse_Flags) return Guint;

Next_Sibling

function Next_Sibling 
(Node: in Gnode) return Gnode;

Nth_Child

function Nth_Child 
(Node: in Gnode;
N: in Guint) return Gnode;

Prepend

procedure Prepend 
(Parent: in out Gnode;
Node: in out Gnode);

Prev_Sibling

function Prev_Sibling 
(Node: in Gnode) return Gnode;

Reverse_Children

procedure Reverse_Children 
(Node: in out Gnode);

Unlink

procedure Unlink 
(Node: in out Gnode);