Method

GtkSourceBufferiter_has_context_class

Declaration [src]

gboolean
gtk_source_buffer_iter_has_context_class (
  GtkSourceBuffer* buffer,
  const GtkTextIter* iter,
  const gchar* context_class
)

Description [src]

Check if the class context_class is set on iter.

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

Parameters

iter GtkTextIter
 

A GtkTextIter.

 The data is owned by the caller of the function.
context_class const gchar*
 

Class to search for.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: gboolean
 

Whether iter has the context class.