Class

GtkSourceSnippetChunk

since: 5

Description [src]

final class GtkSource.SnippetChunk : GObject.InitiallyUnowned
{
  /* No available fields */
}

A chunk of text within the source snippet.

The GtkSourceSnippetChunk 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 GtkSourceSnippetChunk:focus-position property set.

Available since: 5

Hierarchy

hierarchy this GtkSourceSnippetChunk ancestor_0 GInitiallyUnowned ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Constructors

gtk_source_snippet_chunk_new

Create a new GtkSourceSnippetChunk that can be added to a GtkSourceSnippet.

since: 5

Instance methods

gtk_source_snippet_chunk_copy

Copies the source snippet.

since: 5

gtk_source_snippet_chunk_get_context

Gets the context for the snippet insertion.

since: 5

gtk_source_snippet_chunk_get_focus_position

Gets the GtkSourceSnippetChunk:focus-position.

since: 5

gtk_source_snippet_chunk_get_spec

Gets the specification for the chunk.

since: 5

gtk_source_snippet_chunk_get_text

Gets the GtkSourceSnippetChunk:text property.

since: 5

gtk_source_snippet_chunk_get_text_set

Gets the GtkSourceSnippetChunk:text-set property.

since: 5

gtk_source_snippet_chunk_get_tooltip_text
No description available.

since: 5

gtk_source_snippet_chunk_set_context
No description available.

since: 5

gtk_source_snippet_chunk_set_focus_position

Sets the GtkSourceSnippetChunk:focus-position property.

since: 5

gtk_source_snippet_chunk_set_spec

Sets the specification for the chunk.

since: 5

gtk_source_snippet_chunk_set_text

Sets the text for the snippet chunk.

since: 5

gtk_source_snippet_chunk_set_text_set

Sets the GtkSourceSnippetChunk:text-set property.

since: 5

gtk_source_snippet_chunk_set_tooltip_text
No description available.

since: 5

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

GtkSource.SnippetChunk:context
No description available.

since: 5

GtkSource.SnippetChunk:focus-position
No description available.

since: 5

GtkSource.SnippetChunk:spec
No description available.

since: 5

GtkSource.SnippetChunk:text
No description available.

since: 5

GtkSource.SnippetChunk:text-set
No description available.

since: 5

GtkSource.SnippetChunk:tooltip-text
No description available.

since: 5

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

since: 2.0

Class structure

struct GtkSourceSnippetChunkClass {
  GInitiallyUnownedClass parent_class;
  
}
No description available.
Class members
parent_class: GInitiallyUnownedClass
No description available.