## 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.     --

32.     --

33.     --  </description>

34.     --  <group>Obsolescent widgets</group>

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

37.     with Gdk.BitmapTo API docTo specTo body;    use Gdk.BitmapTo API docTo specTo body;

38.     with Gdk.PixmapTo API docTo specTo body;    use Gdk.PixmapTo API docTo specTo body;

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

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

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

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

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

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

45.     with Gtkada.TypesTo API docTo specTo body;  use Gtkada.TypesTo API docTo specTo body;

47.     package Gtk.PixmapTo API docTo specTo body is

49.        type Gtk_Pixmap_Record is new Gtk_Misc_RecordTo API docTo spec with null record;

50.        type Gtk_Pixmap is access all Gtk_Pixmap_RecordTo API docTo spec'Class;

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

53.        -- Constructors --

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

56.        procedure Gtk_NewTo API docTo body

57.           (Pixmap : out Gtk_PixmapTo API docTo spec;

58.            Val    : Gdk.Pixmap.Gdk_PixmapTo API docTo spec;

59.            Mask   : Gdk.Bitmap.Gdk_BitmapTo API docTo spec);

60.        procedure InitializeTo API docTo body

61.           (Pixmap : access Gtk_Pixmap_RecordTo API docTo spec'Class;

62.            Val    : Gdk.Pixmap.Gdk_PixmapTo API docTo spec;

63.            Mask   : Gdk.Bitmap.Gdk_BitmapTo API docTo spec);

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

66.        pragma Import (C, Get_TypeTo API docTo spec, "gtk_pixmap_get_type");

68.        -------------

69.        -- Methods --

70.        -------------

72.        procedure GetTo API docTo body

73.           (Pixmap : access Gtk_Pixmap_RecordTo API docTo spec;

74.            Val    : out Gdk.Pixmap.Gdk_PixmapTo API docTo spec;

75.            Mask   : out Gdk.Bitmap.Gdk_BitmapTo API docTo spec);

77.        procedure SetTo API docTo body

78.           (Pixmap : access Gtk_Pixmap_RecordTo API docTo spec;

79.            Val    : Gdk.Pixmap.Gdk_PixmapTo API docTo spec;

80.            Mask   : Gdk.Bitmap.Gdk_BitmapTo API docTo spec);

82.        procedure Set_Build_InsensitiveTo API docTo body

83.           (Pixmap : access Gtk_Pixmap_RecordTo API docTo spec;

84.            Build  : Boolean);

85.        --  Whether the pixmap should be grayed out, as is done for insensitive

86.        --  widgets that do not accept user interaction

88.        ----------------------

89.        -- GtkAda additions --

90.        ----------------------

92.        function Create_PixmapTo API docTo body

93.          (Filename : String;

94.           Window   : access Gtk.Window.Gtk_Window_RecordTo API docTo specTo body'Class) return Gtk_PixmapTo API docTo spec;

95.        --  Create a pixmap given a window and a filename

97.        function Create_PixmapTo API docTo body

98.          (Data     : Gtkada.Types.Chars_Ptr_ArrayTo API docTo spec;

99.           Window   : access Gtk.Window.Gtk_Window_RecordTo API docTo specTo body'Class) return Gtk_PixmapTo API docTo spec;

100.        --  Create a pixmap given a window and a buffer.

102.        ----------------

103.        -- Interfaces --

104.        ----------------

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

106.        --

107.        --  - "Buildable"

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

110.          (Gtk.Buildable.Gtk_BuildableTo API docTo spec, Gtk_Pixmap_RecordTo API docTo spec, Gtk_PixmapTo API docTo spec);

111.        function "+"

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

113.        return Gtk.Buildable.Gtk_BuildableTo API docTo spec

114.        renames Implements_Buildable.To_InterfaceTo API docTo specTo body;

115.        function "-"

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

117.        return Gtk_PixmapTo API docTo spec

118.        renames Implements_Buildable.To_ObjectTo API docTo specTo body;

120.     end Gtk.PixmapTo API docTo specTo body;