Method

GtkTextBuffercreate_child_anchor

Declaration [src]

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

Description [src]

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 gtk_text_buffer_create_child_anchor().

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.