connectInsertChildAnchor

fun connectInsertChildAnchor(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (location: TextIter, anchor: TextChildAnchor) -> Unit): <Error class: unknown class>

Emitted to insert a GtkTextChildAnchor in a GtkTextBuffer.

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: method@Gtk.TextBuffer.insert_child_anchor.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: location position to insert @anchor in @textbuffer; anchor the GtkTextChildAnchor to be inserted