Method

PlumaDocumentget_metadata

Declaration [src]

gchar*
pluma_document_get_metadata (
  PlumaDocument* doc,
  const gchar* key
)

Description [src]

Gets the metadata assigned to key.

Parameters

key

Type: const gchar*

Name of the key.

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

Return value

Type: gchar*

The value assigned to key.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.