## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: User_Return_Callback_With_Setup (generic)

- Goto spec source

# Description

    generic
          type Widget_Type is new Glib.Object.GObject_Record with private;
          type Return_Type is (<>);
          type User_Type (<>) is private;
          with procedure Setup (User_Data : User_Type; Id : Handler_Id);
       package User_Return_Callback_With_Setup is

# Packages

### Internal_Cb (new Marshallers)

    package Internal_Cb is new User_Return_Callback
            (Widget_Type, Return_Type, User_Type);

### Marshallers (renames Marshallers)

    package Marshallers renames Internal_Cb.Marshallers;

### Gint_Marshaller (renames Gint_Marshaller)

    package Gint_Marshaller renames Internal_Cb.Gint_Marshaller;

### Guint_Marshaller (renames Guint_Marshaller)

    package Guint_Marshaller renames Internal_Cb.Guint_Marshaller;

### Event_Marshaller (renames Event_Marshaller)

    package Event_Marshaller renames Internal_Cb.Event_Marshaller;

### Widget_Marshaller (renames Widget_Marshaller)

    package Widget_Marshaller renames Internal_Cb.Widget_Marshaller;

### Notebook_Page_Marshaller (renames Notebook_Page_Marshaller)

    package Notebook_Page_Marshaller
            renames Internal_Cb.Notebook_Page_Marshaller;

# Types

### Widget_Type

- Goto declaration in source

    type Widget_Type is new Glib.Object.GObject_Record with private;

### Return_Type

- Goto declaration in source

    type Return_Type is (<>);

### User_Type

- Goto declaration in source

    type User_Type (<>) is private;

### Handler

- Goto declaration in source

    subtype Handler is Internal_Cb.Handler;

### Simple_Handler

- Goto declaration in source

    subtype Simple_Handler is Internal_Cb.Simple_Handler;

# Subprograms & Entries

### Setup

- Goto spec in source

    procedure Setup (User_Data: User_Type;Id: Handler_Id);

### Connect

- Goto spec in source

    procedure Connect (Widget: access Widget_Type'Class;Name: Glib.Signal_Name;Marsh: Marshallers.Marshaller;User_Data: User_Type;After: Boolean := False);

### Object_Connect

- Goto spec in source

    procedure Object_Connect (Widget: access Glib.Object.GObject_Record'Class;Name: Glib.Signal_Name;Marsh: Marshallers.Marshaller;Slot_Object: access Widget_Type'Class;User_Data: User_Type;After: Boolean := False);

### Connect

- Goto spec in source

    procedure Connect (Widget: access Widget_Type'Class;Name: Glib.Signal_Name;Cb: Handler;User_Data: User_Type;After: Boolean := False);

### Object_Connect

- Goto spec in source

    procedure Object_Connect (Widget: access Glib.Object.GObject_Record'Class;Name: Glib.Signal_Name;Cb: Handler;Slot_Object: access Widget_Type'Class;User_Data: User_Type;After: Boolean := False);

### Connect

- Goto spec in source

    procedure Connect (Widget: access Widget_Type'Class;Name: Glib.Signal_Name;Cb: Simple_Handler;User_Data: User_Type;After: Boolean := False);

### Object_Connect

- Goto spec in source

    procedure Object_Connect (Widget: access Glib.Object.GObject_Record'Class;Name: Glib.Signal_Name;Cb: Simple_Handler;Slot_Object: access Widget_Type'Class;User_Data: User_Type;After: Boolean := False);

### Connect

- Goto spec in source

    function Connect (Widget: access Widget_Type'Class;Name: Glib.Signal_Name;Marsh: Marshallers.Marshaller;User_Data: User_Type;After: Boolean := False) return Handler_Id;

### Object_Connect

- Goto spec in source

    function Object_Connect (Widget: access Glib.Object.GObject_Record'Class;Name: Glib.Signal_Name;Marsh: Marshallers.Marshaller;Slot_Object: access Widget_Type'Class;User_Data: User_Type;After: Boolean := False) return Handler_Id;

### Connect

- Goto spec in source

    function Connect (Widget: access Widget_Type'Class;Name: Glib.Signal_Name;Cb: Handler;User_Data: User_Type;After: Boolean := False) return Handler_Id;

### Object_Connect

- Goto spec in source

    function Object_Connect (Widget: access Glib.Object.GObject_Record'Class;Name: Glib.Signal_Name;Cb: Handler;Slot_Object: access Widget_Type'Class;User_Data: User_Type;After: Boolean := False) return Handler_Id;

### To_Marshaller

- Goto spec in source

    function To_Marshaller (Cb: Gint_Marshaller.Handler) return Internal_Cb.Marshallers.Marshaller renames Internal_Cb.To_Marshaller;

### To_Marshaller

- Goto spec in source

    function To_Marshaller (Cb: Guint_Marshaller.Handler) return Internal_Cb.Marshallers.Marshaller renames Internal_Cb.To_Marshaller;

### To_Marshaller

- Goto spec in source

    function To_Marshaller (Cb: Event_Marshaller.Handler) return Internal_Cb.Marshallers.Marshaller renames Internal_Cb.To_Marshaller;

### To_Marshaller

- Goto spec in source

    function To_Marshaller (Cb: Widget_Marshaller.Handler) return Internal_Cb.Marshallers.Marshaller renames Internal_Cb.To_Marshaller;

### To_Marshaller

- Goto spec in source

    function To_Marshaller (Cb: Internal_Cb.Marshallers.Void_Marshaller.Handler) return Internal_Cb.Marshallers.Marshaller renames Internal_Cb.To_Marshaller;

### To_Marshaller

- Goto spec in source

    function To_Marshaller (Cb: Notebook_Page_Marshaller.Handler) return Internal_Cb.Marshallers.Marshaller renames Internal_Cb.To_Marshaller;

### Emit_By_Name

- Goto spec in source

    function Emit_By_Name (Object: access Widget_Type'Class;Name: Glib.Signal_Name;Param: Gint) return Return_Type renames Internal_Cb.Emit_By_Name;

### Emit_By_Name

- Goto spec in source

    function Emit_By_Name (Object: access Widget_Type'Class;Name: Glib.Signal_Name;Param: Guint) return Return_Type renames Internal_Cb.Emit_By_Name;

### Emit_By_Name

- Goto spec in source

    function Emit_By_Name (Object: access Widget_Type'Class;Name: Glib.Signal_Name;Param: Gdk.Event.Gdk_Event) return Return_Type renames Internal_Cb.Emit_By_Name;

### Emit_By_Name

- Goto spec in source

    function Emit_By_Name (Object: access Widget_Type'Class;Name: Glib.Signal_Name;Param: access Gtk.Widget.Gtk_Widget_Record'Class) return Return_Type renames Internal_Cb.Emit_By_Name;

### Emit_By_Name

- Goto spec in source

    function Emit_By_Name (Object: access Widget_Type'Class;Name: Glib.Signal_Name) return Return_Type renames Internal_Cb.Emit_By_Name;

### Emit_By_Name

- Goto spec in source

    function Emit_By_Name (Object: access Widget_Type'Class;Name: Glib.Signal_Name;Param: Gtk.Notebook.Gtk_Notebook_Page) return Return_Type renames Internal_Cb.Emit_By_Name;