create_child_anchor


Description:

public unowned TextChildAnchor create_child_anchor (TextIter iter)

Creates and inserts a child anchor.

This is a convenience function which simply creates a child anchor with [[email protected]] and inserts it into the buffer with [[email protected]_child_anchor].

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

Parameters:

this

a `GtkTextBuffer`

iter

location in the buffer

Returns:

the created child anchor




2022 vala-language.org