Method

GrlRelatedKeysget_int

since: 0.1.10

Declaration [src]

gint
grl_related_keys_get_int (
  GrlRelatedKeys* relkeys,
  GrlKeyID key
)

Description [src]

Returns the value associated with key from relkeys. If key has no value, or value is not a gint, or key is not in relkeys, then 0 is returned.

Available since: 0.1.10

Parameters

key

Type: GrlKeyID

Key to use.

Return value

Type: gint

Int value associated with key, or 0 in other case.