## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Idle (generic)

- Goto spec source

# Description

    generic
          type Data_Type (<>) is private;
       package Idle is

Destroy will be called automatically just prior to the destruction of D. In particular, it is also called if the idle is destroyed through a call to Idle_Remove.

# Types

### Data_Type

- Goto declaration in source

    type Data_Type (<>) is private;

### Callback

- Goto declaration in source

    type Callback is access function (D : Data_Type) return Boolean;

### Destroy_Callback

- Goto declaration in source

    type Destroy_Callback is access procedure (D : in out Data_Type);

# Subprograms & Entries

### Add

- Goto spec in source

    function Add (Cb: Callback;D: Data_Type;Priority: Idle_Priority := Priority_Default_Idle;Destroy: Destroy_Callback := null) return Idle_Handler_Id;