## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

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

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

3.     --                                                                   --

4.     --   Copyright (C) 1998-2000 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.     --  <group>Gdk, the low-level API</group>

31.     with GlibTo API docTo specTo body; use GlibTo API docTo specTo body;

32.     with Cairo.RegionTo API docTo specTo body; use Cairo.RegionTo API docTo specTo body;

34.     package Gdk.RectangleTo API docTo specTo body is

36.        subtype Gdk_Rectangle is Cairo_Rectangle_IntTo API docTo spec;

38.        type Gdk_Rectangle_Access is access all Gdk_RectangleTo API docTo spec;

39.        pragma Convention (C, Gdk_Rectangle_AccessTo API docTo spec);

41.        type Gdk_Rectangle_Array is array (Natural range <>) of Gdk_RectangleTo API docTo spec;

42.        --  This type is used by Gdk.Region.

44.        Full_AreaTo API docTo body : constant Gdk_RectangleTo API docTo spec;

45.        --  The constant above can be used in Gtk.Widget.Draw when you want to

46.        --  redraw the whole widget

48.        procedure IntersectTo API docTo body

49.          (Src1To API docTo body      : Gdk_RectangleTo API docTo spec;

50.           Src2To API docTo body      : Gdk_RectangleTo API docTo spec;

51.           DestTo API docTo body      : out Gdk_RectangleTo API docTo spec;

52.           Intersect : out Boolean);

54.        procedure UnionTo API docTo body

55.          (Src1 : Gdk_RectangleTo API docTo spec;

56.           Src2 : Gdk_RectangleTo API docTo spec;

57.           Dest : out Gdk_RectangleTo API docTo spec);

59.     private

61.        Full_AreaTo API docTo spec : constant Gdk_RectangleTo API docTo spec :=

62.          (GintTo API docTo spec'First, GintTo API docTo spec'First, GintTo API docTo spec'Last, GintTo API docTo spec'Last);

64.        pragma Import (C, UnionTo API docTo spec, "gdk_rectangle_union");

66.     end Gdk.RectangleTo API docTo specTo body;