The config property

The AgsApplicationContext base class provides you an AgsConfig instance. It might load a default configuration or from current users home directory. The config should be obtained as property using g_object_get() or similar.

AgsConfig stores its properties as key value pairs within appropriate group. In order to get the config instance, load default configuration and get the threading model do the following.

Example 1.3. Get config value

#include <glib.h>
#include <glib-object.h>

#include <ags/libags.h>

AgsConfig *config;
gchar *str;

config = ags_config_get_instance();

str = ags_config_get_value(config,