## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

1.     -----------------------------------------------------------------------

2.     --              GtkAda - Ada95 binding for Gtk+/Gnome                --

3.     --                                                                   --

4.     --                Copyright (C) 2001-2006 AdaCore                    --

5.     --                                                                   --

6.     -- This library is free software; you can redistribute it and/or     --

7.     -- modify it under the terms of the GNU General Public               --

8.     -- License as published by the Free Software Foundation; either      --

9.     -- version 2 of the License, or (at your option) any later version.  --

10.     --                                                                   --

11.     -- This library is distributed in the hope that it will be useful,   --

12.     -- but WITHOUT ANY WARRANTY; without even the implied warranty of    --

13.     -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU --

14.     -- General Public License for more details.                          --

15.     --                                                                   --

16.     -- You should have received a copy of the GNU General Public         --

17.     -- License along with this library; if not, write to the             --

18.     -- Free Software Foundation, Inc., 59 Temple Place - Suite 330,      --

19.     -- Boston, MA 02111-1307, USA.                                       --

20.     --                                                                   --

21.     -- As a special exception, if other files instantiate generics from  --

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

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

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

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

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

27.     -----------------------------------------------------------------------

29.     --  <description>

30.     --  A GtkTextChildAnchor is a spot in the buffer where child widgets can be

31.     --  "anchored" (inserted inline, as if they were characters). The anchor can

32.     --  have multiple widgets anchored, to allow for multiple views.

33.     --  </description>

34.     --  <c_version>2.8.17</c_version>

35.     --  <group>Multiline Text Editor</group>

37.     with GtkTo API docTo spec; use GtkTo API docTo spec;

38.     with Gtk.WidgetTo API docTo specTo body;

40.     package Gtk.Text_ChildTo API docTo specTo body is

42.        type Gtk_Text_Child_Anchor_RecordTo API docTo body is new GObject_RecordTo API docTo specTo body with private;

43.        type Gtk_Text_Child_Anchor is access all Gtk_Text_Child_Anchor_RecordTo API docTo specTo body'Class;

45.        procedure Gtk_NewTo API docTo body (Widget : out Gtk_Text_Child_AnchorTo API docTo spec);

46.        procedure InitializeTo API docTo body (Widget : access Gtk_Text_Child_Anchor_RecordTo API docTo specTo body'Class);

47.        --  Creates or initializes a Gtk_Text_Child_Anchor widget.

48.        --  Usually you would then insert it into a Gtk_Text_Buffer with

49.        --  Gtk.Text_Buffer.Insert_Child_Anchor.

50.        --  To perform the creation and insertion in one step, use the

51.        --  convenience function Gtk.Text_Buffer.Create_Child_Anchor.

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

54.        --  Return the internal value associated with a Gtk_Text_Child_Anchor.

56.        function Get_WidgetsTo API docTo body

57.          (Anchor : access Gtk_Text_Child_Anchor_RecordTo API docTo specTo body)

58.           return Gtk.Widget.Widget_List.GlistTo API docTo specTo body;

59.        --  Return the list of widgets attached at anchor. The returned list should

60.        --  be freed by the caller.

62.        function Get_DeletedTo API docTo body

63.          (Anchor : access Gtk_Text_Child_Anchor_RecordTo API docTo specTo body) return Boolean;

64.        --  Determines whether a child anchor has been deleted from the buffer. Keep

65.        --  in mind that the child anchor will be unreferenced when removed from the

66.        --  buffer, so you need to hold your own reference (with Ref()) if you plan

67.        --  to use this function; otherwise all deleted child anchors will

68.        --  also be finalized.

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

71.        -- Properties --

72.        ----------------

74.        --  <properties>

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

76.        --  Glib.Properties for more information on properties.

77.        --

78.        --  </properties>

80.     private

81.        type Gtk_Text_Child_Anchor_RecordTo API docTo spec is new GObject_RecordTo API docTo specTo body with null record;

82.        pragma Import (C, Get_TypeTo API docTo spec, "gtk_text_child_anchor_get_type");

83.     end Gtk.Text_ChildTo API docTo specTo body;