GtkSource.View.push_snippet

### Method

# GtkSource Viewpush_snippet

#### Declaration [src]

    void
    gtk_source_view_push_snippet (
      GtkSourceView* view,
      GtkSourceSnippet* snippet,
      GtkTextIter* location
    )

#### Description [src]

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` | `GtkSourceSnippet`
| A `GtkSourceSnippet`.
| The data is owned by the caller of the function.
`location` | `GtkTextIter`
| A `GtkTextIter` or `NULL` for the cursor position.
| The argument can be `NULL`.
| The data is owned by the caller of the function.