GtkSource.Mark.next

### Method

# GtkSource Marknext

#### Declaration [src]

    GtkSourceMark*
    gtk_source_mark_next (
      GtkSourceMark* mark,
      const gchar* category
    )

#### Description [src]

Returns the next `GtkSourceMark` in the buffer or `NULL` if the mark was not added to a buffer.

If there is no next mark, `NULL` will be returned.

If `category` is `NULL`, looks for marks of any category.

#### Parameters

`category`

  Type: `const gchar*`

  A string specifying the mark category, or `NULL`.

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

#### Return value

Type: `GtkSourceMark`

The next `GtkSourceMark`, or `NULL`.

The returned data is owned by the instance.
The return value can be `NULL`.