1. ------------------------------------------------------------------------------ 
  2. --                  GtkAda - Ada95 binding for Gtk+/Gnome                   -- 
  3. --                                                                          -- 
  4. --      Copyright (C) 1998-2000 E. Briot, J. Brobecker and A. Charlet       -- 
  5. --                     Copyright (C) 1998-2014, AdaCore                     -- 
  6. --                                                                          -- 
  7. -- This library is free software;  you can redistribute it and/or modify it -- 
  8. -- under terms of the  GNU General Public License  as published by the Free -- 
  9. -- Software  Foundation;  either version 3,  or (at your  option) any later -- 
  10. -- version. This library is distributed in the hope that it will be useful, -- 
  11. -- but WITHOUT ANY WARRANTY;  without even the implied warranty of MERCHAN- -- 
  12. -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE.                            -- 
  13. --                                                                          -- 
  14. -- As a special exception under Section 7 of GPL version 3, you are granted -- 
  15. -- additional permissions described in the GCC Runtime Library Exception,   -- 
  16. -- version 3.1, as published by the Free Software Foundation.               -- 
  17. --                                                                          -- 
  18. -- You should have received a copy of the GNU General Public License and    -- 
  19. -- a copy of the GCC Runtime Library Exception along with this program;     -- 
  20. -- see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see    -- 
  21. -- <http://www.gnu.org/licenses/>.                                          -- 
  22. --                                                                          -- 
  23. ------------------------------------------------------------------------------ 
  24.  
  25. --  <description> 
  26. -- 
  27. --  This is the top level package of the Gdk hierarchy. 
  28. --  It provides the type definitions used to access underlying C structures. 
  29. -- 
  30. --  </description> 
  31. --  <group>Gdk, the low-level API</group> 
  32.  
  33. with Glib; 
  34. pragma Warnings (Off); 
  35. with System; 
  36. pragma Warnings (On); 
  37.  
  38. package Gdk is 
  39.    pragma Preelaborate; 
  40.  
  41.    type Gdk_GC is new Glib.C_Proxy; 
  42.    type Gdk_Window is new Glib.C_Proxy; 
  43.    type Gdk_Cursor is new Glib.C_Proxy; 
  44.    type Gdk_Colormap is new Glib.C_Proxy; 
  45.    type Gdk_Visual is new Glib.C_Proxy; 
  46.    type Gdk_Font is new Glib.C_Proxy; 
  47.    type Gdk_Image is new Glib.C_Proxy; 
  48.    type Gdk_Region is new Glib.C_Proxy; 
  49.    type Gdk_Window_Attr is new Glib.C_Proxy; 
  50. end Gdk;