SnippetContext
Superclasses: Object
- Constructors:
SnippetContext(**properties)
new() -> GtkSource.SnippetContext
Constructors
- class SnippetContext
- classmethod new() SnippetContext
Creates a new
SnippetContext
.Generally, this isn’t needed unless you are controlling the expansion of snippets manually.
Methods
- class SnippetContext
-
- get_variable(key: str) str | None
Gets the current value for a variable named
key
.- Parameters:
key – the name of the variable