## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Generic_SList (generic)

- Goto spec source

# Description

    generic
          type Gpointer (<>) is private;
          with function Convert (P : Gpointer) return System.Address is <>;
          with function Convert (S : System.Address) return Gpointer is <>;
       package Generic_SList is

# Types

### Gpointer

- Goto declaration in source

    type Gpointer (<>) is private;

### GSlist

- Goto declaration in source
- Goto full declaration in source

    type GSlist is private;

# Constants & Global variables

### Null_List

- Goto declaration in source
- Goto full declaration in source

(GSlist)

    Null_List : constant GSlist;

# Subprograms & Entries

### Convert

- Goto spec in source

    function Convert (P: Gpointer) return System.Address is <>;

### Convert

- Goto spec in source

    function Convert (S: System.Address) return Gpointer is <>;

### Alloc

- Goto spec in source

    procedure Alloc (List: out GSlist);

### Append

- Goto spec in source

    procedure Append (List: in out GSlist;Data: in Gpointer);

### Concat

- Goto spec in source

    function Concat (List1: in GSlist;List2: in GSlist) return GSlist;

### Insert

- Goto spec in source

    procedure Insert (List: in out GSlist;Data: in Gpointer;Position: in Gint);

### Find

- Goto spec in source

    function Find (List: in GSlist;Data: in Gpointer) return GSlist;

### Free

- Goto spec in source

    procedure Free (List: in out GSlist);

### Get_Data

- Goto spec in source

    function Get_Data (List: in GSlist) return Gpointer;

### Get_Data_Address

- Goto spec in source

    function Get_Data_Address (List: GSlist) return System.Address;

Return directly the System.Address contained in the C list. This is used mainly internally in GtkAda to implement String lists, and you should not have to use this subprogram yourself.

### Index

- Goto spec in source

    function Index (List: in GSlist;Data: in Gpointer) return Gint;

### Last

- Goto spec in source

    function Last (List: in GSlist) return GSlist;

### Length

- Goto spec in source

    function Length (List: in GSlist) return Guint;

### List_Reverse

- Goto spec in source

    procedure List_Reverse (List: in out GSlist);

### Next

- Goto spec in source

    function Next (List: in GSlist) return GSlist;

### Nth

- Goto spec in source

    function Nth (List: in GSlist;N: in Guint) return GSlist;

### Nth_Data

- Goto spec in source

    function Nth_Data (List: in GSlist;N: in Guint) return Gpointer;

### Position

- Goto spec in source

    function Position (List: in GSlist;Link: in GSlist) return Gint;

### Prepend

- Goto spec in source

    procedure Prepend (List: in out GSlist;Data: in Gpointer);

### Remove

- Goto spec in source

    procedure Remove (List: in out GSlist;Data: in Gpointer);

### Remove_Link

- Goto spec in source

    procedure Remove_Link (List: in out GSlist;Link: in GSlist);

### Get_Object

- Goto spec in source

    function Get_Object (Obj: in GSlist) return System.Address;

### Set_Object

- Goto spec in source

    procedure Set_Object (Obj: in out GSlist;Value: in     System.Address);