## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: User_Return_Callback (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;
       package User_Return_Callback is

# Packages

### Marshallers (new Gtk.Marshallers.User_Return_Marshallers)

    package Marshallers is new Gtk.Marshallers.User_Return_Marshallers
            (Widget_Type, Return_Type, User_Type);

### Gint_Marshaller (new Gtk.Marshallers.User_Return_Marshallers.Generic_Marshaller)

    package Gint_Marshaller is new Marshallers.Generic_Marshaller
            (Gint, Glib.Values.Get_Int);

### Guint_Marshaller (new Gtk.Marshallers.User_Return_Marshallers.Generic_Marshaller)

    package Guint_Marshaller is new Marshallers.Generic_Marshaller
            (Guint, Glib.Values.Get_Uint);

### Event_Marshaller (new Gtk.Marshallers.User_Return_Marshallers.Generic_Marshaller)

    package Event_Marshaller is new Marshallers.Generic_Marshaller
            (Gdk.Event.Gdk_Event, Gdk.Event.Get_Event);

### Widget_Marshaller (new Gtk.Marshallers.User_Return_Marshallers.Generic_Widget_Marshaller)

    package Widget_Marshaller is new Marshallers.Generic_Widget_Marshaller
            (Gtk.Widget.Gtk_Widget_Record, Gtk.Widget.Gtk_Widget);

### Notebook_Page_Marshaller (new Gtk.Marshallers.User_Return_Marshallers.Generic_Marshaller)

    package Notebook_Page_Marshaller is new Marshallers.Generic_Marshaller
            (Gtk.Notebook.Gtk_Notebook_Page, Gtk.Notebook.Get_Notebook_Page);

# 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

    type Handler is access function
            (Widget    : access Widget_Type'Class;
             Params    : Glib.Values.GValues;
             User_Data : User_Type) return Return_Type;

### Simple_Handler

- Goto declaration in source

    type Simple_Handler is access function
            (Widget    : access Widget_Type'Class;
             User_Data : User_Type) return Return_Type;

# Subprograms & Entries

### 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: 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

    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

    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 Marshallers.Marshaller renames Gint_Marshaller.To_Marshaller;

### To_Marshaller

- Goto spec in source

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

### To_Marshaller

- Goto spec in source

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

### To_Marshaller

- Goto spec in source

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

### To_Marshaller

- Goto spec in source

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

### To_Marshaller

- Goto spec in source

    function To_Marshaller (Cb: Notebook_Page_Marshaller.Handler) return Marshallers.Marshaller renames Notebook_Page_Marshaller.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 Gint_Marshaller.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 Guint_Marshaller.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;

### 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 Widget_Marshaller.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 Marshallers.Void_Marshaller.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 Notebook_Page_Marshaller.Emit_By_Name;