Method

GtkSourceBufferget_source_marks_at_iter

Declaration

GSList*
gtk_source_buffer_get_source_marks_at_iter (
  GtkSourceBuffer* buffer,
  GtkTextIter* iter,
  const gchar* category
)

Description

Returns the list of marks of the given category at iter.

If category is NULL it returns all marks at iter.

Parameters

iter GtkTextIter
 

An iterator.

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

Category to search for, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.

Return value

Returns: A list of GtkSourceMark*
 

a newly allocated GSList.

 The caller of the method takes ownership of the data container, but not the data inside it.