TextBuffer.connectInsertChildAnchor

gulong connectInsertChildAnchor(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == gtk.text_iter.TextIter))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.text_child_anchor.TextChildAnchor))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.text_buffer.TextBuffer))) && Parameters!T.length < 4)

Connect to InsertChildAnchor signal.

Emitted to insert a [gtk.text_child_anchor.TextChildAnchor] in a [gtk.text_buffer.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.text_buffer.TextBuffer.insertChildAnchor].

Parameters

callbacksignal callback delegate or function to connect void callback(gtk.text_iter.TextIter location, gtk.text_child_anchor.TextChildAnchor anchor, gtk.text_buffer.TextBuffer textBuffer) location position to insert anchor in textbuffer (optional) anchor the [gtk.text_child_anchor.TextChildAnchor] to be inserted (optional) textBuffer the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID