Method

GrlRelatedKeysget_string

since: 0.1.10

Declaration [src]

const gchar*
grl_related_keys_get_string (
  GrlRelatedKeys* relkeys,
  GrlKeyID key
)

Description [src]

Returns the value associated with key from relkeys. If key has no value, or value is not string, or key is not in relkeys, then NULL is returned.

Available since: 0.1.10

Parameters

key

Type: GrlKeyID

Key to use.

Return value

Type: const gchar*

String associated with key, or NULL in other case. Caller should not change nor free the value.

The data is owned by the instance.
The value is a NUL terminated UTF-8 string.