1. ----------------------------------------------------------------------- 
  2. --              GtkAda - Ada95 binding for Gtk+/Gnome                -- 
  3. --                                                                   -- 
  4. --                    Copyright (C) 2003-2006 AdaCore                -- 
  5. --                                                                   -- 
  6. -- This library is free software; you can redistribute it and/or     -- 
  7. -- modify it under the terms of the GNU General Public               -- 
  8. -- License as published by the Free Software Foundation; either      -- 
  9. -- version 2 of the License, or (at your option) any later version.  -- 
  10. --                                                                   -- 
  11. -- This library is distributed in the hope that it will be useful,   -- 
  12. -- but WITHOUT ANY WARRANTY; without even the implied warranty of    -- 
  13. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU -- 
  14. -- General Public License for more details.                          -- 
  15. --                                                                   -- 
  16. -- You should have received a copy of the GNU General Public         -- 
  17. -- License along with this library; if not, write to the             -- 
  18. -- Free Software Foundation, Inc., 59 Temple Place - Suite 330,      -- 
  19. -- Boston, MA 02111-1307, USA.                                       -- 
  20. --                                                                   -- 
  21. -- -- -- -- -- -- -- -- -- -- -- --
  22. ----------------------------------------------------------------------- 
  23.  
  24. --  <description> 
  25. --  This widget serves as separator between menu items. It is represented 
  26. --  graphically as a horizontal line between two items, and is used to group 
  27. --  items into meaningful groups. 
  28. --  </description> 
  29. --  <c_version>2.8.17</c_version> 
  30. --  <group>Menus and Toolbars</group> 
  31.  
  32. with Gtk.Menu_Item; 
  33.  
  34. package Gtk.Separator_Menu_Item is 
  35.  
  36.    type Gtk_Separator_Menu_Item_Record is new 
  37.      Gtk.Menu_Item.Gtk_Menu_Item_Record with private; 
  38.    type Gtk_Separator_Menu_Item is access all 
  39.      Gtk_Separator_Menu_Item_Record'Class; 
  40.  
  41.    procedure Gtk_New (Widget : out Gtk_Separator_Menu_Item); 
  42.    --  Create a new Gtk_Image_Menu_Item. 
  43.  
  44.    procedure Initialize (Widget : access Gtk_Separator_Menu_Item_Record'Class); 
  45.    --  Internal initialization function. 
  46.    --  See the section "Creating your own widgets" in the documentation. 
  47.  
  48.    function Get_Type return Gtk.Gtk_Type; 
  49.    --  Return the internal value associated with this widget. 
  50.  
  51.    ------------- 
  52.    -- Signals -- 
  53.    ------------- 
  54.  
  55.    --  <signals> 
  56.    --  The following new signals are defined for this widget: 
  57.    -- 
  58.    --  </signals> 
  59.  
  60. private 
  61.    type Gtk_Separator_Menu_Item_Record is new 
  62.      Gtk.Menu_Item.Gtk_Menu_Item_Record with null record; 
  63.  
  64.    pragma Import (C, Get_Type, "gtk_separator_menu_item_get_type"); 
  65. end Gtk.Separator_Menu_Item;