## 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.     --  Gtk_Volume_Button is a subclass of Gtk_Scale_Button that has been tailored

32.     --  for use as a volume control widget with suitable icons, tooltips and

33.     --  accessible labels.

34.     --

35.     --  </description>

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

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

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

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

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

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

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

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

45.     with Gtk.Scale_ButtonTo API docTo specTo body; use Gtk.Scale_ButtonTo API docTo specTo body;

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

48.     package Gtk.Volume_ButtonTo API docTo specTo body is

50.        type Gtk_Volume_Button_Record is new Gtk_Scale_Button_RecordTo API docTo specTo body with null record;

51.        type Gtk_Volume_Button is access all Gtk_Volume_Button_RecordTo API docTo spec'Class;

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

54.        -- Constructors --

55.        ------------------

57.        procedure Gtk_NewTo API docTo body (Widget : out Gtk_Volume_ButtonTo API docTo spec);

58.        procedure InitializeTo API docTo body (Widget : access Gtk_Volume_Button_RecordTo API docTo spec'Class);

59.        --  Creates a Gtk.Volume_Button.Gtk_Volume_Button, with a range between 0.0

60.        --  and 1.0, with a stepping of 0.02. Volume values can be obtained and

61.        --  modified using the functions from Gtk.Scale_Button.Gtk_Scale_Button.

62.        --  Since: gtk+ 2.12

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

65.        pragma Import (C, Get_TypeTo API docTo spec, "gtk_volume_button_get_type");

67.        ---------------------

68.        -- Interfaces_Impl --

69.        ---------------------

71.        procedure Do_Set_Related_ActionTo API docTo body

72.           (Self   : access Gtk_Volume_Button_RecordTo API docTo spec;

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

75.        function Get_Related_ActionTo API docTo body

76.           (Self : access Gtk_Volume_Button_RecordTo API docTo spec) return Gtk.Action.Gtk_ActionTo API docTo spec;

77.        procedure Set_Related_ActionTo API docTo body

78.           (Self   : access Gtk_Volume_Button_RecordTo API docTo spec;

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

81.        function Get_Use_Action_AppearanceTo API docTo body

82.           (Self : access Gtk_Volume_Button_RecordTo API docTo spec) return Boolean;

83.        procedure Set_Use_Action_AppearanceTo API docTo body

84.           (Self           : access Gtk_Volume_Button_RecordTo API docTo spec;

85.            Use_Appearance : Boolean);

87.        procedure Sync_Action_PropertiesTo API docTo body

88.           (Self   : access Gtk_Volume_Button_RecordTo API docTo spec;

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

91.        function Get_OrientationTo API docTo body

92.           (Self : access Gtk_Volume_Button_RecordTo API docTo spec)

93.            return Gtk.Enums.Gtk_OrientationTo API docTo spec;

94.        procedure Set_OrientationTo API docTo body

95.           (Self        : access Gtk_Volume_Button_RecordTo API docTo spec;

96.            OrientationTo API docTo body : Gtk.Enums.Gtk_OrientationTo API docTo spec);

98.        ----------------

99.        -- Interfaces --

100.        ----------------

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

102.        --

103.        --  - "Activatable"

104.        --

105.        --  - "Buildable"

106.        --

107.        --  - "Orientable"

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

110.          (Gtk.Activatable.Gtk_ActivatableTo API docTo spec, Gtk_Volume_Button_RecordTo API docTo spec, Gtk_Volume_ButtonTo API docTo spec);

111.        function "+"

112.          (Widget : access Gtk_Volume_Button_RecordTo API docTo spec'Class)

113.        return Gtk.Activatable.Gtk_ActivatableTo API docTo spec

114.        renames Implements_Activatable.To_InterfaceTo API docTo specTo body;

115.        function "-"

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

117.        return Gtk_Volume_ButtonTo API docTo spec

118.        renames Implements_Activatable.To_ObjectTo API docTo specTo body;

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

121.          (Gtk.Buildable.Gtk_BuildableTo API docTo spec, Gtk_Volume_Button_RecordTo API docTo spec, Gtk_Volume_ButtonTo API docTo spec);

122.        function "+"

123.          (Widget : access Gtk_Volume_Button_RecordTo API docTo spec'Class)

124.        return Gtk.Buildable.Gtk_BuildableTo API docTo spec

125.        renames Implements_Buildable.To_InterfaceTo API docTo specTo body;

126.        function "-"

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

128.        return Gtk_Volume_ButtonTo API docTo spec

129.        renames Implements_Buildable.To_ObjectTo API docTo specTo body;

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

132.          (Gtk.Orientable.Gtk_OrientableTo API docTo spec, Gtk_Volume_Button_RecordTo API docTo spec, Gtk_Volume_ButtonTo API docTo spec);

133.        function "+"

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

135.        return Gtk.Orientable.Gtk_OrientableTo API docTo spec

136.        renames Implements_Orientable.To_InterfaceTo API docTo specTo body;

137.        function "-"

138.          (Interf : Gtk.Orientable.Gtk_OrientableTo API docTo spec)

139.        return Gtk_Volume_ButtonTo API docTo spec

140.        renames Implements_Orientable.To_ObjectTo API docTo specTo body;

142.     end Gtk.Volume_ButtonTo API docTo specTo body;