View.connectLineMarkActivated

Connect to LineMarkActivated signal.

Emitted when a line mark has been activated (for instance when there was a button press in the line marks gutter).

You can use iter to determine on which line the activation took place.

class View
ulong
connectLineMarkActivated
(
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] == uint)
)
)
&&
(
Parameters!T.length < 3 ||
(
ParameterStorageClassTuple!T[2] == ParameterStorageClass.none &&
is(Parameters!T[2] == gdk.types.ModifierType)
)
)
&&
(
Parameters!T.length < 4 ||
(
ParameterStorageClassTuple!T[3] == ParameterStorageClass.none &&
is(Parameters!T[3] == int)
)
)
&&
(
Parameters!T.length < 5 ||
(
ParameterStorageClassTuple!T[4] == ParameterStorageClass.none &&
is(Parameters!T[4] : gtksource.view.View)
)
)
&&
Parameters!T.length < 6
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gtk.text_iter.TextIter iter, uint button, gdk.types.ModifierType state, int nPresses, gtksource.view.View view)

iter a #GtkTextIter (optional)

button the button that was pressed (optional)

state the modifier state, if any (optional)

nPresses the number of presses (optional)

view 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