Class

GrlConfig

Description

class Grl.Config : GObject.Object
{
  priv: GrlConfigPrivate*,
  _grl_reserved: None
}
No description available.

Ancestors

Constructors

grl_config_new

Creates a new data config object that will be associated with a plugin (if source is NULL), or a specific source spawned from a plugin (if source is not NULL). The latter may be useful for plugins spawning various sources, each one needing a different configuration.

since: 0.1.4

Instance methods

grl_config_get_api_key
No description available.

since: 0.1.4

grl_config_get_api_key_blob
No description available.

since: 0.1.9

grl_config_get_api_secret
No description available.

since: 0.1.4

grl_config_get_api_token
No description available.

since: 0.1.4

grl_config_get_api_token_secret
No description available.

since: 0.2.6

grl_config_get_binary

Gets the value of param encoded as base64. If size is not NULL, it puts there the size of the value.

since: 0.1.9

grl_config_get_boolean
No description available.

since: 0.1.8

grl_config_get_float
No description available.

since: 0.1.5

grl_config_get_int
No description available.

since: 0.1.5

grl_config_get_password
No description available.

since: 0.1.8

grl_config_get_plugin
No description available.

since: 0.1.4

grl_config_get_source
No description available.

grl_config_get_string
No description available.

since: 0.1.5

grl_config_get_username
No description available.

since: 0.1.8

grl_config_has_param
No description available.

since: 0.1.8

grl_config_set

Set param value.

since: 0.1.5

grl_config_set_api_key

Set the webservice API key in the configuration.

since: 0.1.4

grl_config_set_api_key_blob

Set the binary API key in the configuration.

since: 0.1.9

grl_config_set_api_secret

Set the webservice passphrase in the configuration.

since: 0.1.4

grl_config_set_api_token

Set the webservice API token in the configuration.

since: 0.1.4

grl_config_set_api_token_secret

Set the webservice API token secret in the configuration (Needed by OAuth)

since: 0.2.6

grl_config_set_binary

Set param value.

since: 0.1.9

grl_config_set_boolean

Set param value.

since: 0.1.8

grl_config_set_float

Set param value.

since: 0.1.5

grl_config_set_int

Set param value.

since: 0.1.5

grl_config_set_password

Set the password in the configuration.

since: 0.1.8

grl_config_set_plugin

Set the plugin key in the configuration.

since: 0.1.4

grl_config_set_source

Set the source key in the configuration.

since: 0.1.4

grl_config_set_string

Set param value.

since: 0.1.5

grl_config_set_username

Set the username in the configuration.

since: 0.1.8

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 GrlConfigClass {
  GObjectClass parent_class;
  
}

Grilo Config Class.

Class members
parent_class: GObjectClass

The parent class structure.