TextBuffer.connectMarkSet

Connect to MarkSet signal.

The ::mark-set signal is emitted as notification after a #GtkTextMark is set.

See also: gtk.text_buffer.TextBuffer.createMark, gtk.text_buffer.TextBuffer.moveMark.

class TextBuffer
gulong
connectMarkSet
(
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 &&
is(Parameters!T[1] : gtk.text_mark.TextMark)
)
)
&&
(
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_mark.TextMark mark, gtk.text_buffer.TextBuffer textBuffer)

location The location of mark in textbuffer (optional)

mark The mark that is set (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: gulong

Signal ID