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. -- As a special exception, if other files instantiate generics from  -- 
  22. -- this unit, or you link this unit with other files to produce an   -- 
  23. -- executable, this  unit  does not  by itself cause  the resulting  -- 
  24. -- executable to be covered by the GNU General Public License. This  -- 
  25. -- exception does not however invalidate any other reasons why the   -- 
  26. -- executable file  might be covered by the  GNU Public License.     -- 
  27. ----------------------------------------------------------------------- 
  28.  
  29. --  <description> 
  30. --  This widget serves as separator between menu items. It is represented 
  31. --  graphically as a horizontal line between two items, and is used to group 
  32. --  items into meaningful groups. 
  33. --  </description> 
  34. --  <c_version>2.8.17</c_version> 
  35. --  <group>Menus and Toolbars</group> 
  36.  
  37. with Gtk.Menu_Item; 
  38.  
  39. package Gtk.Separator_Menu_Item is 
  40.  
  41.    type Gtk_Separator_Menu_Item_Record is new 
  42.      Gtk.Menu_Item.Gtk_Menu_Item_Record with private; 
  43.    type Gtk_Separator_Menu_Item is access all 
  44.      Gtk_Separator_Menu_Item_Record'Class; 
  45.  
  46.    procedure Gtk_New (Widget : out Gtk_Separator_Menu_Item); 
  47.    --  Create a new Gtk_Image_Menu_Item. 
  48.  
  49.    procedure Initialize (Widget : access Gtk_Separator_Menu_Item_Record'Class); 
  50.    --  Internal initialization function. 
  51.    --  See the section "Creating your own widgets" in the documentation. 
  52.  
  53.    function Get_Type return Gtk.Gtk_Type; 
  54.    --  Return the internal value associated with this widget. 
  55.  
  56.    ------------- 
  57.    -- Signals -- 
  58.    ------------- 
  59.  
  60.    --  <signals> 
  61.    --  The following new signals are defined for this widget: 
  62.    -- 
  63.    --  </signals> 
  64.  
  65. private 
  66.    type Gtk_Separator_Menu_Item_Record is new 
  67.      Gtk.Menu_Item.Gtk_Menu_Item_Record with null record; 
  68.  
  69.    pragma Import (C, Get_Type, "gtk_separator_menu_item_get_type"); 
  70. end Gtk.Separator_Menu_Item;