## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

1.     -----------------------------------------------------------------------

2.     --               GtkAda - Ada95 binding for Gtk+/Gnome               --

3.     --                                                                   --

4.     --   Copyright (C) 1998-2004 E. Briot, J. Brobecker and A. Charlet   --

5.     --                  Copyright (C) 2000-2013, AdaCore                 --

6.     --                                                                   --

7.     -- This library is free software; you can redistribute it and/or     --

8.     -- modify it under the terms of the GNU General Public               --

9.     -- License as published by the Free Software Foundation; either      --

10.     -- version 2 of the License, or (at your option) any later version.  --

11.     --                                                                   --

12.     -- This library is distributed in the hope that it will be useful,   --

13.     -- but WITHOUT ANY WARRANTY; without even the implied warranty of    --

14.     -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU --

15.     -- General Public License for more details.                          --

16.     --                                                                   --

17.     -- You should have received a copy of the GNU General Public         --

18.     -- License along with this library; if not, write to the             --

19.     -- Free Software Foundation, Inc., 59 Temple Place - Suite 330,      --

20.     -- Boston, MA 02111-1307, USA.                                       --

21.     --                                                                   --

22.     -- As a special exception, if other files instantiate generics from  --

23.     -- this unit, or you link this unit with other files to produce an   --

24.     -- executable, this  unit  does not  by itself cause  the resulting  --

25.     -- executable to be covered by the GNU General Public License. This  --

26.     -- exception does not however invalidate any other reasons why the   --

27.     -- executable file  might be covered by the  GNU Public License.     --

28.     -----------------------------------------------------------------------

30.     --  <description>

31.     --  This package is obsolete and replaced by Glib.Values.

32.     --  Future versions of GtkAda will no longer provide this package.

33.     --

34.     --  This package provides a convenient interface to C, providing easy

35.     --  conversion from a C's (void*) pointer to any Ada type used in

36.     --  GtkAda.  Although this package has been designed to be easily

37.     --  reusable by being as general as possible, these functions are mainly

38.     --  used when writing callbacks and/or marshallers (see Gtk.Marshallers

39.     --  and Gtk.Handlers).

40.     --

41.     --  Therefore, the main type in this package is Gtk_Args, which is the

42.     --  equivalent of the C's (GtkArg*) array, i.e an array of unions.  This

43.     --  package provides functions to extract the values from this type.

44.     --  </description>

45.     --  <c_version>2.8.17</c_version>

46.     --  <group>Signal handling</group>

48.     with Glib.ValuesTo API docTo specTo body;

49.     with Glib.ObjectTo API docTo specTo body;

50.     with Gdk.EventTo API docTo specTo body;

51.     with Gtk.WidgetTo API docTo specTo body;

53.     package Gtk.ArgumentsTo API docTo specTo body is

55.        --  <doc_ignore>Do not create automatic documentation for this package

57.        subtype Gtk_Args is Glib.Values.GValuesTo API docTo specTo body;

58.        --  This type represents a table of arguments. Each argument of the

59.        --  table can be of any type. You can access them through one of the

60.        --  To_* functions found below. The index of the first element is

61.        --  always 1.

63.        function Make_Args (Nb : GuintTo API docTo spec; Args : System.Address) return Gtk_ArgsTo API docTo spec

64.          renames Glib.Values.Make_ValuesTo API docTo specTo body;

65.        --  Build a Gtk_Args structure from the given C array. Nb should be the

66.        --  number of elements in the Args array.

68.        ---------------------------------------------------

69.        -- Conversion functions, interfacing to Gtk_Args --

70.        ---------------------------------------------------

72.        function To_GintTo API docTo body    (ArgsTo API docTo body : Gtk_ArgsTo API docTo spec; Num : Positive) return GintTo API docTo spec;

73.        function To_GuintTo API docTo body   (ArgsTo API docTo body : Gtk_ArgsTo API docTo spec; Num : Positive) return GuintTo API docTo spec;

74.        function To_BooleanTo API docTo body (ArgsTo API docTo body : Gtk_ArgsTo API docTo spec; Num : Positive) return Boolean;

75.        function To_EventTo API docTo body   (ArgsTo API docTo body : Gtk_ArgsTo API docTo spec; Num : Positive)

76.          return Gdk.Event.Gdk_EventTo API docTo spec;

77.        function To_StringTo API docTo body  (ArgsTo API docTo body : Gtk_ArgsTo API docTo spec; Num : Positive) return UTF8_StringTo API docTo spec;

78.        function To_Notebook_PageTo API docTo body

79.          (ArgsTo API docTo body : Gtk_ArgsTo API docTo spec; Num : Positive) return Gtk_Notebook_PageTo API docTo spec;

80.        function To_AddressTo API docTo body (ArgsTo API docTo body : Gtk_ArgsTo API docTo spec; Num : Positive) return System.Address;

81.        function To_C_ProxyTo API docTo body (ArgsTo API docTo body : Gtk_ArgsTo API docTo spec; Num : Positive) return Gdk.C_ProxyTo API docTo spec;

82.        function To_ObjectTo API docTo body

83.          (ArgsTo API docTo body : Gtk_ArgsTo API docTo spec; Num : Positive) return Glib.Object.GObjectTo API docTo spec;

84.        --  This function can return null, if the C object was not created.

85.        function To_RequisitionTo API docTo body (ArgsTo API docTo body : Gtk_ArgsTo API docTo spec; Num : Positive)

86.           return Gtk.Widget.Gtk_Requisition_AccessTo API docTo spec;

87.        function To_AllocationTo API docTo body

88.          (ArgsTo API docTo body : Gtk_ArgsTo API docTo spec; Num : Positive) return Gtk.Widget.Gtk_Allocation_AccessTo API docTo spec;

90.     private

91.        pragma Inline (To_GintTo API docTo specTo body);

92.        pragma Inline (To_GuintTo API docTo specTo body);

93.        pragma Inline (To_BooleanTo API docTo specTo body);

94.        pragma Inline (To_ObjectTo API docTo specTo body);

95.        pragma Inline (To_EventTo API docTo specTo body);

96.        pragma Inline (To_StringTo API docTo specTo body);

98.        --  </doc_ignore>

99.     end Gtk.ArgumentsTo API docTo specTo body;