Constructor
GtkSourceSnippetnew_parsed
Declaration [src]
GtkSourceSnippet*
gtk_source_snippet_new_parsed (
const char* text,
GError** error
)
Description [src]
Parses the snippet formatted text
into a series of chunks and adds them
to a new GtkSourceSnippet
.
Available since: | 5.6 |
Parameters
text |
const char* |
The formatted snippet text to parse. |
|
The data is owned by the caller of the function. | |
The string is a NUL terminated UTF-8 string. | |
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | GtkSourceSnippet |
The newly parsed |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |