View.setEnableSnippets

void setEnableSnippets(bool enableSnippets)

Sets the gtksource.view.View.enableSnippets property.

If enable_snippets is true, matching snippets found in the gtksource.snippet_manager.SnippetManager may be expanded when the user presses Tab after a word in the gtksource.view.View.

Parameters

enableSnippetsif snippets should be enabled