Method

GtkSourceBufferget_context_classes_at_iter

Declaration

gchar**
gtk_source_buffer_get_context_classes_at_iter (
  GtkSourceBuffer* buffer,
  const GtkTextIter* iter
)

Description

Get all defined context classes at iter.

See the GtkSourceBuffer description for the list of default context classes.

Parameters

iter const GtkTextIter*
 

A GtkTextIter.

 The data is owned by the caller of the function.

Return value

Returns: An array of utf8
 

A new NULL terminated array of context class names. Use g_strfreev() to free the array if it is no longer needed.

 The caller of the method takes ownership of the data, and is responsible for freeing it.