Method

GtkTextBufferget_mark

Declaration [src]

GtkTextMark*
gtk_text_buffer_get_mark (
  GtkTextBuffer* buffer,
  const gchar* name
)

Description [src]

Returns the mark named name in buffer buffer, or NULL if no such mark exists in the buffer.

Parameters

name const gchar*
 

A mark name.

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

Return value

Returns: GtkTextMark
 

A GtkTextMark, or NULL.

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