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. --  A Gtk_Vbutton_Box is a specific Gtk_Button_Box that organizes its 
  27. --  children vertically. 
  28. --  The beginning of the box (when you add children with Gtk.Box.Pack_Start) 
  29. --  is on the top of the box. Its end (for Gtk.Box.Pack_End) is on the bottom. 
  30. --  </description> 
  31. --  <c_version>2.8.17</c_version> 
  32. --  <group>Layout containers</group> 
  33.  
  34. with Glib; 
  35. with Gtk.Button_Box; 
  36.  
  37. package Gtk.Vbutton_Box is 
  38.  
  39.    type Gtk_Vbutton_Box_Record is 
  40.      new Gtk.Button_Box.Gtk_Button_Box_Record with private; 
  41.    type Gtk_Vbutton_Box is access all Gtk_Vbutton_Box_Record'Class; 
  42.  
  43.    procedure Gtk_New (Widget : out Gtk_Vbutton_Box); 
  44.    --  Create a new vertical button box. 
  45.  
  46.    procedure Initialize (Widget : access Gtk_Vbutton_Box_Record'Class); 
  47.    --  Internal initialization function. 
  48.    --  See the section "Creating your own widgets" in the documentation. 
  49.  
  50.    function Get_Type return Glib.GType; 
  51.    --  Return the internal value associated with a Gtk_Vbutton_Box. 
  52.  
  53.    ---------------- 
  54.    -- Properties -- 
  55.    ---------------- 
  56.  
  57.    --  <properties> 
  58.    --  The following properties are defined for this widget. See 
  59.    --  Glib.Properties for more information on properties. 
  60.    -- 
  61.    --  </properties> 
  62.  
  63.    ------------- 
  64.    -- Signals -- 
  65.    ------------- 
  66.  
  67.    --  <signals> 
  68.    --  The following new signals are defined for this widget: 
  69.    --  </signals> 
  70.  
  71. private 
  72.    type Gtk_Vbutton_Box_Record is 
  73.      new Gtk.Button_Box.Gtk_Button_Box_Record with null record; 
  74.  
  75.    pragma Import (C, Get_Type, "gtk_vbutton_box_get_type"); 
  76. end Gtk.Vbutton_Box; 
  77.  
  78. --  These subprograms never had a binding, are now obsolescent 
  79. --  No binding: gtk_vbutton_box_get_layout_default 
  80. --  No binding: gtk_vbutton_box_get_spacing_default 
  81. --  No binding: gtk_vbutton_box_set_layout_default 
  82. --  No binding: gtk_vbutton_box_set_spacing_default