gtksource.snippet_chunk
Module for [SnippetChunk] class
Types 3
A chunk of text within the source snippet.
The gtksource.snippet_chunk.SnippetChunk represents a single chunk of text that may or may not be an edit point within the snippet. Chunks that are an edit point (also called a tab stop) have the gtksource.snippet_chunk.SnippetChunk.focusPosition property set.
Methods
SnippetChunkGidBuilder builder() static nothrowGet builder for [gtksource.snippet_chunk.SnippetChunk] Returns: New builder objectgtksource.snippet_chunk.SnippetChunk copy() nothrowCopies the source snippet. Returns: A #GtkSourceSnippetChunkgtksource.snippet_context.SnippetContext getContext() nothrowGets the context for the snippet insertion. Returns: A #GtkSourceSnippetContextstring getTooltipText() nothrowvoid setContext(gtksource.snippet_context.SnippetContext context) nothrowvoid setFocusPosition(int focusPosition) nothrowSets the [gtksource.snippet_chunk.SnippetChunk.focusPosition] property.void setTextSet(bool textSet) nothrowSets the [gtksource.snippet_chunk.SnippetChunk.textSet] property.void setTooltipText(string tooltipText) nothrowFluent builder implementation template for gtksource.snippet_chunk.SnippetChunk
Methods
T context(gtksource.snippet_context.SnippetContext propval) nothrowT focusPosition(int propval) nothrowT spec(string propval) nothrowT text(string propval) nothrowT textSet(bool propval) nothrowT tooltipText(string propval) nothrowFluent builder for gtksource.snippet_chunk.SnippetChunk
Methods