## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Generic_Marshaller (generic)

- Goto spec source

# Description

    generic
             type Base_Type is private;
             with function Conversion
               (Value : Glib.Values.GValue) return Base_Type;

          package Generic_Marshaller is

Basic Marshaller

# Types

### Base_Type

- Goto declaration in source

    type Base_Type is private;

### Handler

- Goto declaration in source

    type Handler is access procedure
               (Widget : access Widget_Type'Class;
                Param  : Base_Type);

# Subprograms & Entries

### Conversion

- Goto spec in source

    function Conversion (Value: Glib.Values.GValue) return Base_Type;

### To_Marshaller

- Goto spec in source

    function To_Marshaller (Cb: Handler) return Marshaller;

### Emit_By_Name

- Goto spec in source

    procedure Emit_By_Name (Object: access Widget_Type'Class;Name: Glib.Signal_Name;Param: Base_Type);

The function above should be used when BASE_TYPE can be passed as is to C.

### Emit_By_Name_Generic (generic)

- Goto spec in source

    generic with function Conversion (Param: Base_Type) return System.Address;procedure Emit_By_Name_Generic (Object: access Widget_Type'Class;Name: Glib.Signal_Name;Param: Base_Type);

Provide an explicit conversion function for PARAM.