View.connectPushSnippet
gulong connectPushSnippet(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.snippet.Snippet)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.ref_ && is(Parameters!T[1] == gtk.text_iter.TextIter)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtksource.view.View)))
&& Parameters!T.length < 4)Connect to PushSnippet signal.
The signal is emitted to insert a new snippet into the view.
If another snippet was active, it will be paused until all focus positions of snippet have been exhausted.
location will be updated to point at the end of the snippet.
Parameters
callback | signal callback delegate or function to connect void callback(gtksource.snippet.Snippet snippet, ref gtk.text_iter.TextIter location, gtksource.view.View view) snippet a #GtkSourceSnippet (optional) location a #GtkTextIter (optional) view the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID