SourceView.addOnShowCompletion

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 gsv.SourceCompletionContext with the activation type as GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED.

Applications should not connect to it, but may emit it with g_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 SourceView
gulong
addOnShowCompletion
(
void delegate dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)