## 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-2013, 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 is deprecated. It now only acts as an abstract base class for

32.     --  other widgets.

33.     --

34.     --  </description>

35.     --  <group>Obsolescent widgets</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.AdjustmentTo API docTo specTo body;  use Gtk.AdjustmentTo API docTo specTo body;

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

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

45.     package Gtk.ProgressTo API docTo specTo body is

47.        pragma Obsolescent;

49.        type Gtk_Progress_Record is new Gtk_Widget_RecordTo API docTo specTo body with null record;

50.        type Gtk_Progress is access all Gtk_Progress_RecordTo API docTo spec'Class;

52.        ------------------

53.        -- Constructors --

54.        ------------------

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

57.        pragma Import (C, Get_TypeTo API docTo spec, "gtk_progress_get_type");

59.        -------------

60.        -- Methods --

61.        -------------

63.        procedure ConfigureTo API docTo body

64.           (Progress : access Gtk_Progress_RecordTo API docTo spec;

65.            Value    : GdoubleTo API docTo spec;

66.            Min      : GdoubleTo API docTo spec;

67.            Max      : GdoubleTo API docTo spec);

69.        function Get_Current_PercentageTo API docTo body

70.           (Progress : access Gtk_Progress_RecordTo API docTo spec) return GdoubleTo API docTo spec;

72.        function Get_Current_TextTo API docTo body

73.           (Progress : access Gtk_Progress_RecordTo API docTo spec) return UTF8_StringTo API docTo spec;

75.        function Get_Percentage_From_ValueTo API docTo body

76.           (Progress : access Gtk_Progress_RecordTo API docTo spec;

77.            Value    : GdoubleTo API docTo spec) return GdoubleTo API docTo spec;

79.        function Get_Text_From_ValueTo API docTo body

80.           (Progress : access Gtk_Progress_RecordTo API docTo spec;

81.            Value    : GdoubleTo API docTo spec) return UTF8_StringTo API docTo spec;

83.        function Get_ValueTo API docTo body (Progress : access Gtk_Progress_RecordTo API docTo spec) return GdoubleTo API docTo spec;

84.        procedure Set_ValueTo API docTo body

85.           (Progress : access Gtk_Progress_RecordTo API docTo spec;

86.            Value    : GdoubleTo API docTo spec);

88.        procedure Set_Activity_ModeTo API docTo body

89.           (Progress      : access Gtk_Progress_RecordTo API docTo spec;

90.            Activity_Mode : Boolean);

92.        procedure Set_AdjustmentTo API docTo body

93.           (Progress   : access Gtk_Progress_RecordTo API docTo spec;

94.            Adjustment : access Gtk.Adjustment.Gtk_Adjustment_RecordTo API docTo spec'Class);

96.        procedure Set_Format_StringTo API docTo body

97.           (Progress : access Gtk_Progress_RecordTo API docTo spec;

98.            Format   : UTF8_StringTo API docTo spec);

100.        procedure Set_PercentageTo API docTo body

101.           (Progress   : access Gtk_Progress_RecordTo API docTo spec;

102.            Percentage : GdoubleTo API docTo spec);

104.        procedure Set_Show_TextTo API docTo body

105.           (Progress  : access Gtk_Progress_RecordTo API docTo spec;

106.            Show_Text : Boolean);

108.        procedure Set_Text_AlignmentTo API docTo body

109.           (Progress : access Gtk_Progress_RecordTo API docTo spec;

110.            X_Align  : GfloatTo API docTo spec;

111.            Y_Align  : GfloatTo API docTo spec);

113.        ------------

114.        -- Fields --

115.        ------------

117.        function Get_AdjustmentTo API docTo body

118.           (Progress : access Gtk_Progress_RecordTo API docTo spec)

119.            return Gtk.Adjustment.Gtk_AdjustmentTo API docTo spec;

121.        function Get_Activity_ModeTo API docTo body

122.           (Progress : access Gtk_Progress_RecordTo API docTo spec) return GuintTo API docTo spec;

124.        ----------------

125.        -- Interfaces --

126.        ----------------

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

128.        --

129.        --  - "Buildable"

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

132.          (Gtk.Buildable.Gtk_BuildableTo API docTo spec, Gtk_Progress_RecordTo API docTo spec, Gtk_ProgressTo API docTo spec);

133.        function "+"

134.          (Widget : access Gtk_Progress_RecordTo API docTo spec'Class)

135.        return Gtk.Buildable.Gtk_BuildableTo API docTo spec

136.        renames Implements_Buildable.To_InterfaceTo API docTo specTo body;

137.        function "-"

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

139.        return Gtk_ProgressTo API docTo spec

140.        renames Implements_Buildable.To_ObjectTo API docTo specTo body;

142.        ----------------

143.        -- Properties --

144.        ----------------

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

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

147.        --

148.        --  Name: Activity_Mode_Property

149.        --  Type: Boolean

150.        --  Flags: read-write

151.        --

152.        --  Name: Show_Text_Property

153.        --  Type: Boolean

154.        --  Flags: read-write

155.        --

156.        --  Name: Text_Xalign_Property

157.        --  Type: Gfloat

158.        --  Flags: read-write

159.        --

160.        --  Name: Text_Yalign_Property

161.        --  Type: Gfloat

162.        --  Flags: read-write

164.        Activity_Mode_Property : constant Glib.Properties.Property_BooleanTo API docTo spec;

165.        Show_Text_Property : constant Glib.Properties.Property_BooleanTo API docTo spec;

166.        Text_Xalign_Property : constant Glib.Properties.Property_FloatTo API docTo spec;

167.        Text_Yalign_Property : constant Glib.Properties.Property_FloatTo API docTo spec;

169.     private

170.        Activity_Mode_PropertyTo API docTo spec : constant Glib.Properties.Property_BooleanTo API docTo spec :=

171.          Glib.Properties.BuildTo API docTo specTo body ("activity-mode");

172.        Show_Text_PropertyTo API docTo spec : constant Glib.Properties.Property_BooleanTo API docTo spec :=

173.          Glib.Properties.BuildTo API docTo specTo body ("show-text");

174.        Text_Xalign_PropertyTo API docTo spec : constant Glib.Properties.Property_FloatTo API docTo spec :=

175.          Glib.Properties.BuildTo API docTo specTo body ("text-xalign");

176.        Text_Yalign_PropertyTo API docTo spec : constant Glib.Properties.Property_FloatTo API docTo spec :=

177.          Glib.Properties.BuildTo API docTo specTo body ("text-yalign");

178.     end Gtk.ProgressTo API docTo specTo body;