Buffer.connectSourceMarkUpdated
gulong connectSourceMarkUpdated(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_mark.TextMark)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtksource.buffer.Buffer)))
&& Parameters!T.length < 3)Connect to SourceMarkUpdated signal.
The ::source-mark-updated signal is emitted each time a mark is added to, moved or removed from the buffer.
Parameters
callback | signal callback delegate or function to connect void callback(gtk.text_mark.TextMark mark, gtksource.buffer.Buffer buffer) mark the #GtkSourceMark (optional) buffer the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID