View.connectShowCompletion

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

Connect to ShowCompletion signal.

The ::show-completion 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 #GtkSourceCompletionContext with the activation type as [gtksource.types.CompletionActivation.UserRequested].

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

Parameters

callbacksignal callback delegate or function to connect void callback(gtksource.view.View view) view the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID