Gtk.TextBuffer::insert-child-anchor

function callback(text_buffer, location:Gtk.TextIter, anchor:Gtk.TextChildAnchor, ):void;

The ::insert-child-anchor signal is emitted to insert a Gtk.TextChildAnchor in a Gtk.TextBuffer. Insertion actually occurs in the default handler.

Note that if your handler runs before the default handler it must not invalidate the location iter (or has to revalidate it). The default signal handler revalidates it to be placed after the inserted anchor.

See also: Gtk.TextBuffer.prototype.insert_child_anchor.

text_buffer

instance of Gtk.TextBuffer that is emitting the signal

location

position to insert anchor in @textbuffer

anchor

the Gtk.TextChildAnchor to be inserted