Ide.Snippet.set_trigger

### Method

# Ide Snippetset_trigger

#### Declaration

    void
    ide_snippet_set_trigger (
      IdeSnippet* self,
      const gchar* trigger
    )

#### Description

Sets the trigger for the snippet.

Available since: | 3.32

Sets property | `Ide.Snippet:trigger`

#### Parameters

`trigger` | `const gchar*`
| The trigger word.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.