TextBuffer.connectInsertChildAnchor

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.

class TextBuffer
ulong
connectInsertChildAnchor
(
T
)
(,
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 &&
)
)
&&
(
Parameters!T.length < 3 ||
(
ParameterStorageClassTuple!T[2] == ParameterStorageClass.none &&
is(Parameters!T[2] : gtk.text_buffer.TextBuffer)
)
)
&&
Parameters!T.length < 4
)

Parameters

callback T

signal 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)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID