MarkAttributes.connectQueryTooltipMarkup

Connect to QueryTooltipMarkup signal.

The code should connect to this signal to provide a tooltip for given mark. The tooltip can contain a markup.

class MarkAttributes
ulong
connectQueryTooltipMarkup
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == string)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
is(Parameters!T[0] : gtksource.mark.Mark)
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
)
)
&&
Parameters!T.length < 3
)

Parameters

callback T

signal callback delegate or function to connect

string callback(gtksource.mark.Mark mark, gtksource.mark_attributes.MarkAttributes markAttributes)

mark The #GtkSourceMark. (optional)

markAttributes the instance the signal is connected to (optional)

Returns A tooltip. The string should be freed with glib.global.gfree when done with it.

after Flag!"After"

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

Return Value

Type: ulong

Signal ID