View.pushSnippet

Inserts a new snippet at location

If another snippet was already active, it will be paused and the new snippet will become active. Once the focus positions of snippet have been exhausted, editing will return to the previous snippet.

Parameters

snippet gtksource.snippet.Snippet

a #GtkSourceSnippet

location gtk.text_iter.TextIter

a #GtkTextIter or null for the cursor position