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-2006 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. -- -- -- -- -- -- -- -- -- -- -- --
  23. ----------------------------------------------------------------------- 
  24.  
  25. --  <description> 
  26. --  Base class for containers that have only one child. 
  27. --  This widget can not be instantiated directly. 
  28. --  </description> 
  29. --  <c_version>2.8.17</c_version> 
  30. --  <group>Abstract base classes</group> 
  31.  
  32. with Gtk.Widget; use Gtk.Widget; 
  33. with Gtk.Container; use Gtk.Container; 
  34.  
  35. package Gtk.Bin is 
  36.  
  37.    type Gtk_Bin_Record is new Container.Gtk_Container_Record with private; 
  38.    type Gtk_Bin is access all Gtk_Bin_Record'Class; 
  39.  
  40.    function Get_Type return Gtk.Gtk_Type; 
  41.    --  Return the internal value associated with a Gtk_Bin. 
  42.  
  43.    function Get_Child (Bin : access Gtk_Bin_Record) return Gtk_Widget; 
  44.    --  Return the child associated with Bin. 
  45.  
  46.    ---------------- 
  47.    -- Properties -- 
  48.    ---------------- 
  49.  
  50.    --  <properties> 
  51.    --  The following properties are defined for this widget. See 
  52.    --  Glib.Properties for more information on properties. 
  53.    --  </properties> 
  54.  
  55.    ------------- 
  56.    -- Signals -- 
  57.    ------------- 
  58.  
  59.    --  <signals> 
  60.    --  The following new signals are defined for this widget: 
  61.    --  </signals> 
  62.  
  63. private 
  64.    type Gtk_Bin_Record is new Container.Gtk_Container_Record with null record; 
  65.    pragma Import (C, Get_Type, "gtk_bin_get_type"); 
  66. end Gtk.Bin;