## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

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-2011, 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.     -- As a special exception, if other files instantiate generics from  --

23.     -- this unit, or you link this unit with other files to produce an   --

24.     -- executable, this  unit  does not  by itself cause  the resulting  --

25.     -- executable to be covered by the GNU General Public License. This  --

26.     -- exception does not however invalidate any other reasons why the   --

27.     -- executable file  might be covered by the  GNU Public License.     --

28.     -----------------------------------------------------------------------

30.     --  <description>

31.     --  This package defines a separator widget that can be inserted in a toolbar,

32.     --  to create groups of widgets in the latter.

33.     --

34.     --  </description>

35.     --  <group>Menus and Toolbars</group>

37.     pragma Warnings (Off, "*is already use-visible*");

38.     with GlibTo API docTo specTo body;            use GlibTo API docTo specTo body;

39.     with Glib.PropertiesTo API docTo specTo body; use Glib.PropertiesTo API docTo specTo body;

40.     with Glib.TypesTo API docTo specTo body;      use Glib.TypesTo API docTo specTo body;

41.     with Gtk.ActionTo API docTo specTo body;      use Gtk.ActionTo API docTo specTo body;

42.     with Gtk.ActivatableTo API docTo specTo body; use Gtk.ActivatableTo API docTo specTo body;

43.     with Gtk.BuildableTo API docTo specTo body;   use Gtk.BuildableTo API docTo specTo body;

44.     with Gtk.Tool_ItemTo API docTo specTo body;   use Gtk.Tool_ItemTo API docTo specTo body;

46.     package Gtk.Separator_Tool_ItemTo API docTo specTo body is

48.        type Gtk_Separator_Tool_Item_Record is new Gtk_Tool_Item_RecordTo API docTo spec with null record;

49.        type Gtk_Separator_Tool_Item is access all Gtk_Separator_Tool_Item_RecordTo API docTo spec'Class;

51.        ------------------

52.        -- Constructors --

53.        ------------------

55.        procedure Gtk_NewTo API docTo body (Item : out Gtk_Separator_Tool_ItemTo API docTo spec);

56.        procedure InitializeTo API docTo body (Item : access Gtk_Separator_Tool_Item_RecordTo API docTo spec'Class);

57.        --  Create a new Gtk.Separator_Tool_Item.Gtk_Separator_Tool_Item

58.        --  Since: gtk+ 2.4

60.        function Get_TypeTo API docTo body return Glib.GTypeTo API docTo spec;

61.        pragma Import (C, Get_TypeTo API docTo spec, "gtk_separator_tool_item_get_type");

63.        -------------

64.        -- Methods --

65.        -------------

67.        function Get_DrawTo API docTo body

68.           (Item : access Gtk_Separator_Tool_Item_RecordTo API docTo spec) return Boolean;

69.        procedure Set_DrawTo API docTo body

70.           (Item : access Gtk_Separator_Tool_Item_RecordTo API docTo spec;

71.            Draw : Boolean);

72.        --  Whether Item is drawn as a vertical line, or just blank. Setting this

73.        --  to False along with Gtk.Tool_Item.Set_Expand is useful to create an item

74.        --  that forces following items to the end of the toolbar.

75.        --  Since: gtk+ 2.4

76.        --  "draw": whether Item is drawn as a vertical line

78.        ---------------------

79.        -- Interfaces_Impl --

80.        ---------------------

82.        procedure Do_Set_Related_ActionTo API docTo body

83.           (Self   : access Gtk_Separator_Tool_Item_RecordTo API docTo spec;

84.            Action : access Gtk.Action.Gtk_Action_RecordTo API docTo specTo body'Class);

86.        function Get_Related_ActionTo API docTo body

87.           (Self : access Gtk_Separator_Tool_Item_RecordTo API docTo spec)

88.            return Gtk.Action.Gtk_ActionTo API docTo spec;

89.        procedure Set_Related_ActionTo API docTo body

90.           (Self   : access Gtk_Separator_Tool_Item_RecordTo API docTo spec;

91.            Action : access Gtk.Action.Gtk_Action_RecordTo API docTo specTo body'Class);

93.        function Get_Use_Action_AppearanceTo API docTo body

94.           (Self : access Gtk_Separator_Tool_Item_RecordTo API docTo spec) return Boolean;

95.        procedure Set_Use_Action_AppearanceTo API docTo body

96.           (Self           : access Gtk_Separator_Tool_Item_RecordTo API docTo spec;

97.            Use_Appearance : Boolean);

99.        procedure Sync_Action_PropertiesTo API docTo body

100.           (Self   : access Gtk_Separator_Tool_Item_RecordTo API docTo spec;

101.            Action : access Gtk.Action.Gtk_Action_RecordTo API docTo specTo body'Class);

103.        ----------------

104.        -- Interfaces --

105.        ----------------

106.        --  This class implements several interfaces. See Glib.Types

107.        --

108.        --  - "Activatable"

109.        --

110.        --  - "Buildable"

112.        package Implements_Activatable is new Glib.Types.ImplementsTo API docTo specTo body

113.          (Gtk.Activatable.Gtk_ActivatableTo API docTo spec, Gtk_Separator_Tool_Item_RecordTo API docTo spec, Gtk_Separator_Tool_ItemTo API docTo spec);

114.        function "+"

115.          (Widget : access Gtk_Separator_Tool_Item_RecordTo API docTo spec'Class)

116.        return Gtk.Activatable.Gtk_ActivatableTo API docTo spec

117.        renames Implements_Activatable.To_InterfaceTo API docTo specTo body;

118.        function "-"

119.          (Interf : Gtk.Activatable.Gtk_ActivatableTo API docTo spec)

120.        return Gtk_Separator_Tool_ItemTo API docTo spec

121.        renames Implements_Activatable.To_ObjectTo API docTo specTo body;

123.        package Implements_Buildable is new Glib.Types.ImplementsTo API docTo specTo body

124.          (Gtk.Buildable.Gtk_BuildableTo API docTo spec, Gtk_Separator_Tool_Item_RecordTo API docTo spec, Gtk_Separator_Tool_ItemTo API docTo spec);

125.        function "+"

126.          (Widget : access Gtk_Separator_Tool_Item_RecordTo API docTo spec'Class)

127.        return Gtk.Buildable.Gtk_BuildableTo API docTo spec

128.        renames Implements_Buildable.To_InterfaceTo API docTo specTo body;

129.        function "-"

130.          (Interf : Gtk.Buildable.Gtk_BuildableTo API docTo spec)

131.        return Gtk_Separator_Tool_ItemTo API docTo spec

132.        renames Implements_Buildable.To_ObjectTo API docTo specTo body;

134.        ----------------

135.        -- Properties --

136.        ----------------

137.        --  The following properties are defined for this widget. See

138.        --  Glib.Properties for more information on properties)

139.        --

140.        --  Name: Draw_Property

141.        --  Type: Boolean

142.        --  Flags: read-write

144.        Draw_Property : constant Glib.Properties.Property_BooleanTo API docTo spec;

146.     private

147.        Draw_PropertyTo API docTo spec : constant Glib.Properties.Property_BooleanTo API docTo spec :=

148.          Glib.Properties.BuildTo API docTo specTo body ("draw");

149.     end Gtk.Separator_Tool_ItemTo API docTo specTo body;