Gtk.TextChildAnchor.new
function new():Gtk.TextChildAnchor {
    // Gjs wrapper for gtk_text_child_anchor_new()
}Creates a new Gtk.TextChildAnchor. Usually you would then insert it into a Gtk.TextBuffer with Gtk.TextBuffer.prototype.insert_child_anchor. To perform the creation and insertion in one step, use the convenience function Gtk.TextBuffer.prototype.create_child_anchor.
- Returns
- a new Gtk.TextChildAnchor