Class

GrlRelatedKeys

Description

class Grl.RelatedKeys : GObject.Object
{
  /* No available fields */
}
No description available.

Ancestors

Constructors

grl_related_keys_new

Creates a new GrlRelatedKeys instance that can be used to store related keys and their values.

since: 0.1.10

grl_related_keys_new_valist

Creates a new GrlRelatedKeys containing pairs of (key, value). Finish the list with NULL.

since: 0.1.10

grl_related_keys_new_with_keys

Creates a initial GrlRelatedKeys containing the list of (key, value) pairs. Finish the list with NULL.

since: 0.1.10

Instance methods

grl_related_keys_dup

Makes a deep copy of relkeys and its contents.

since: 0.1.10

grl_related_keys_get

Get the value associated with key from relkeys. If it does not contain any value, NULL will be returned.

since: 0.1.10

grl_related_keys_get_binary

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

since: 0.1.10

grl_related_keys_get_boolean

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

since: 0.2.3

grl_related_keys_get_boxed

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

since: 0.2.0

grl_related_keys_get_float

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

since: 0.1.10

grl_related_keys_get_int

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.

since: 0.1.10

grl_related_keys_get_int64

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

since: 0.2.12

grl_related_keys_get_keys

Returns a list with keys contained in relkeys.

since: 0.1.13

grl_related_keys_get_string

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.

since: 0.1.10

grl_related_keys_has_key

Checks if key is in relkeys.

since: 0.1.10

grl_related_keys_remove

Removes key from relkeys set.

since: 0.2.3

grl_related_keys_set

Sets the value associated with key into relkeys. Old value is freed and the new one is set.

since: 0.1.10

grl_related_keys_set_binary

Sets the value associated with key into relkeys. key must have been registered as a binary-type key. Old value is replaced by the new one.

since: 0.1.10

grl_related_keys_set_boolean

Sets the value associated with key into relkeys. key must have been registered as a boolean-type key. Old value is replaced by the new one.

since: 0.2.3

grl_related_keys_set_boxed

Sets the value associated with key into relkeys. key must have been registered as a boxed-type key. Old value is freed and the new one is set.

since: 0.2.0

grl_related_keys_set_float

Sets the value associated with key into relkeys. key must have been registered as a float-type key. Old value is replaced by the new one.

since: 0.1.10

grl_related_keys_set_for_id

Sets the value associated with key_name in relkeys. This key_name is used to create a new GParamSpec instance, which is further used to create and register a key using grl_registry_register_metadata_key(). If key_name already has a value, old value is replaced by the new one.

since: 0.3.13

grl_related_keys_set_int

Sets the value associated with key into relkeys. key must have been registered as an int-type key. Old value is replaced by the new one.

since: 0.1.10

grl_related_keys_set_int64

Sets the value associated with key into relkeys. key must have been registered as a int64-type key. Old value is replaced by the new one.

since: 0.2.12

grl_related_keys_set_string

Sets the value associated with key into relkeys. key must have been registered as a strying-type key. Old value is freed and the new one is set.

since: 0.1.10

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GrlRelatedKeysClass {
  GObjectClass parent_class;
  
}

Grilo Data Multivalued class.

Class members
parent_class: GObjectClass

The parent class structure.