Class

AgsConfig

Description

class Ags.Config : GObject.Object
{
  flags: guint,
  obj_mutex: GRecMutex,
  version: gchar*,
  build_id: gchar*,
  key_file: GKeyFile*
}

No description available.

Ancestors

Constructors

ags_config_new

Create a new instance of AgsConfig.

since: 3.0.0

Functions

ags_config_get_instance

Get config instance.

since: 3.0.0

Instance methods

ags_config_clear

Clears configuration.

since: 3.0.0

ags_config_get_value

Retrieve config by group and key.

since: 3.0.0

ags_config_load_defaults

Load configuration from default values.

since: 3.0.0

ags_config_load_from_data

Read configuration in memory.

since: 3.0.0

ags_config_load_from_file

Load configuration from filename.

since: 3.0.0

ags_config_save

Save configuration.

since: 3.0.0

ags_config_set_value

Set config by group and key, applying value.

since: 3.0.0

ags_config_to_data

Save configuration.

since: 3.0.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Ags.Config::get-value

The ::get-value signal notifies about value been getting.

since: 3.0.0

Ags.Config::load-defaults

The ::load-defaults signal notifies about loading defaults.

since: 3.0.0

Ags.Config::set-value

The ::set-value signal notifies about value been setting.

since: 3.0.0

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 AgsConfigClass {
  GObjectClass gobject;
  void (* load_defaults) (
    AgsConfig* config
  );
  void (* set_value) (
    AgsConfig* config,
    gchar* group,
    gchar* key,
    gchar* value
  );
  gchar* (* get_value) (
    AgsConfig* config,
    gchar* group,
    gchar* key
  );
  
}

No description available.

Class members
gobject: GObjectClass

No description available.

load_defaults: void (* load_defaults) ( AgsConfig* config )

No description available.

set_value: void (* set_value) ( AgsConfig* config, gchar* group, gchar* key, gchar* value )

No description available.

get_value: gchar* (* get_value) ( AgsConfig* config, gchar* group, gchar* key )

No description available.

Virtual methods

Ags.ConfigClass.get_value

Retrieve config by group and key.

since: 3.0.0

Ags.ConfigClass.load_defaults

Load configuration from default values.

since: 3.0.0

Ags.ConfigClass.set_value

Set config by group and key, applying value.

since: 3.0.0