TextBuffer.connectRemoveTag

Connect to RemoveTag signal.

Emitted to remove all occurrences of tag from a range of text in a gtk.text_buffer.TextBuffer.

Removal actually occurs in the default handler.

Note that if your handler runs before the default handler it must not invalidate the start and end iters (or has to revalidate them).

See also: gtk.text_buffer.TextBuffer.removeTag.

class TextBuffer
ulong
connectRemoveTag
(
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_tag.TextTag)
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
is(Parameters!T[1] == gtk.text_iter.TextIter)
)
)
&&
(
Parameters!T.length < 3 ||
(
ParameterStorageClassTuple!T[2] == ParameterStorageClass.none &&
is(Parameters!T[2] == gtk.text_iter.TextIter)
)
)
&&
(
Parameters!T.length < 4 ||
(
ParameterStorageClassTuple!T[3] == ParameterStorageClass.none &&
is(Parameters!T[3] : gtk.text_buffer.TextBuffer)
)
)
&&
Parameters!T.length < 5
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gtk.text_tag.TextTag tag, gtk.text_iter.TextIter start, gtk.text_iter.TextIter end, gtk.text_buffer.TextBuffer textBuffer)

tag the tag to be removed (optional)

start the start of the range the tag is removed from (optional)

end the end of the range the tag is removed from (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