Gtk.TextBuffer.create_child_anchor

### Method

# Gtk TextBuffercreate_child_anchor

#### Declaration [src]

    GtkTextChildAnchor*
    gtk_text_buffer_create_child_anchor (
      GtkTextBuffer* buffer,
      GtkTextIter* iter
    )

#### Description [src]

Creates and inserts a child anchor.

This is a convenience function which simply creates a child anchor with `gtk_text_child_anchor_new()` and inserts it into the buffer with `gtk_text_buffer_insert_child_anchor()`.

The new anchor is owned by the buffer; no reference count is returned to the caller of this function.

#### Parameters

`iter`

  Type: `GtkTextIter`

  Location in the buffer.

  The data is owned by the caller of the method.

#### Return value

Type: `GtkTextChildAnchor`

The created child anchor.

The returned data is owned by the instance.