Gtk.TextBuffer.prototype.create_child_anchor
function create_child_anchor(iter:Gtk.TextIter):Gtk.TextChildAnchor { // Gjs wrapper for gtk_text_buffer_create_child_anchor() }
This is a convenience function which simply creates a child anchor with Gtk.new and inserts it into the buffer with Gtk.insert_child_anchor. The new anchor is owned by the buffer; no reference count is returned to the caller of Gtk.TextBuffer.prototype.create_child_anchor.
- iter
location in the buffer
- Returns
the created child anchor