Method

GtkSourceSnippetChunkget_text

Declaration

const gchar*
gtk_source_snippet_chunk_get_text (
  GtkSourceSnippetChunk* chunk
)

Description

Gets the GtkSourceSnippetChunk:text property.

The text property is updated when the user edits the text of the chunk. If it has not been edited, the GtkSourceSnippetChunk:spec property is returned.

Return value

Returns: const gchar*
 

The text of the chunk.

 The data is owned by the instance.
 The string is a NUL terminated UTF-8 string.