Method
GtkSourceBufferget_source_marks_at_line
Declaration
GSList*
gtk_source_buffer_get_source_marks_at_line (
GtkSourceBuffer* buffer,
gint line,
const gchar* category
)
Description
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 |
|
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 |
|
The caller of the method takes ownership of the data container, but not the data inside it. |