Method

GtkSourceBufferget_source_marks_at_line

Declaration [src]

GSList*
gtk_source_buffer_get_source_marks_at_line (
  GtkSourceBuffer* buffer,
  gint line,
  const gchar* category
)

Description [src]

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

If category is NULL, all marks at line are returned.

Parameters

line gint
 

A line number.

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 value 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.