This is a convenience function which simply creates a child anchor with gtk.text_child_anchor.TextChildAnchor.new_ and inserts it into the buffer with gtk.text_buffer.TextBuffer.insertChildAnchor. The new anchor is owned by the buffer; no reference count is returned to the caller of gtk.text_buffer.TextBuffer.createChildAnchor.
location in the buffer
the created child anchor
This is a convenience function which simply creates a child anchor with gtk.text_child_anchor.TextChildAnchor.new_ and inserts it into the buffer with gtk.text_buffer.TextBuffer.insertChildAnchor. The new anchor is owned by the buffer; no reference count is returned to the caller of gtk.text_buffer.TextBuffer.createChildAnchor.