## 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.     --  The Gtk_Orientable interface is implemented by all widgets that can be

32.     --  oriented horizontally or vertically. Historically, such widgets have been

33.     --  realized as subclasses of a common base class (e.g

34.     --  Gtk_Box/Gtk_HBox/Gtk_VBox or Gtk_Scale/Gtk_HScale/Gtk_VScale).

35.     --  Gtk_Orientable is more flexible in that it allows the orientation to be

36.     --  changed at runtime, allowing the widgets to 'flip'.

37.     --

38.     --  </description>

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

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

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

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

45.     package Gtk.OrientableTo API docTo specTo body is

47.        type Gtk_Orientable is new Glib.Types.GType_InterfaceTo API docTo spec;

49.        ------------------

50.        -- Constructors --

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

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

54.        pragma Import (C, Get_TypeTo API docTo spec, "gtk_orientable_get_type");

56.        -------------

57.        -- Methods --

58.        -------------

60.        function Get_OrientationTo API docTo body

61.           (Self : Gtk_OrientableTo API docTo spec) return Gtk.Enums.Gtk_OrientationTo API docTo spec;

62.        procedure Set_OrientationTo API docTo body

63.           (Self        : Gtk_OrientableTo API docTo spec;

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

65.        --  Sets the orientation of the Orientable.

66.        --  Since: gtk+ 2.16

67.        --  "orientation": the orientable's new orientation.

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

70.        -- Properties --

71.        ----------------

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

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

74.        --

75.        --  Name: Orientation_Property

76.        --  Type: Gtk.Enums.Gtk_Orientation

77.        --  Flags: read-write

78.        --  The orientation of the orientable.

80.        Orientation_Property : constant Gtk.Enums.Property_Gtk_OrientationTo API docTo spec;

82.     private

83.        Orientation_PropertyTo API docTo spec : constant Gtk.Enums.Property_Gtk_OrientationTo API docTo spec :=

84.          Gtk.Enums.BuildTo API docTo specTo body ("orientation");

85.     end Gtk.OrientableTo API docTo specTo body;