View.connectShowCompletion

Connect to ShowCompletion signal.

The signal is a key binding signal which gets emitted when the user requests a completion, by pressing <keycombo><keycap>Control</keycap><keycap>space</keycap></keycombo>.

This will create a classCompletionContext with the activation type as gtksource.types.CompletionActivation.UserRequested.

Applications should not connect to it, but may emit it with funcGObject.signal_emit_by_name if they need to activate the completion by another means, for example with another key binding or a menu entry.

class View
ulong
connectShowCompletion
(
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] : gtksource.view.View)
)
)
&&
Parameters!T.length < 2
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gtksource.view.View view)

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