## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Generic_Uri_Hook (generic)

- Goto spec source

# Description

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

# Types

### Data_Type

- Goto declaration in source

    type Data_Type (<>) is private;

### Uri_Handler

- Goto declaration in source

    type Uri_Handler is access procedure
            (Button    : access Gtk_Link_Button_Record'Class;
             Link      : UTF8_String;
             User_Data : Data_Type);

A callback that is invoked when the user presses a hyperlink.

### Destroy_Notify

- Goto declaration in source

    type Destroy_Notify is access procedure (User_Data : in out Data_Type);

Destroy_Notify is called just prior to the destruction of User_Data.

# Subprograms & Entries

### Set_Uri_Hook

- Goto spec in source

    procedure Set_Uri_Hook (Handler: Uri_Handler;User_Data: Data_Type;Destroy: Destroy_Notify);

Sets Handler as the subprogram that should be invoked every time a user clicks a Gtk_Link_Button. This subprogram is called before every callback registered for the "clicked" signal. If no uri hook has been set, GTK+ defaults to calling gtk_show_uri().