create_child_anchor


Description:

public unowned TextChildAnchor create_child_anchor (TextIter iter)

This is a convenience function which simply creates a child anchor with TextChildAnchor and inserts it into the buffer with insert_child_anchor.

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

Parameters:

this

a TextBuffer

iter

location in the buffer

Returns:

the created child anchor