Top |
void | ags_config_load_defaults () |
void | ags_config_load_from_file () |
void | ags_config_load_from_data () |
void | ags_config_set_value () |
gchar * | ags_config_get_value () |
void | ags_config_to_data () |
void | ags_config_save () |
AgsConfig * | ags_config_get_instance () |
AgsConfig * | ags_config_new () |
#define | AGS_CONFIG_DEFAULT_VERSION |
#define | AGS_CONFIG_DEFAULT_BUILD_ID |
#define | AGS_CONFIG_GENERIC |
#define | AGS_CONFIG_THREAD |
#define | AGS_CONFIG_SOUNDCARD |
#define | AGS_CONFIG_SEQUENCER |
#define | AGS_CONFIG_RECALL |
void
ags_config_load_defaults (AgsConfig *config
);
Load configuration from default values.
Since: 0.4.2
void ags_config_load_from_file (AgsConfig *config
,gchar *filename
);
Load configuration from filename
.
Since: 0.4.2
void ags_config_load_from_data (AgsConfig *config
,char *buffer
,gsize buffer_length
);
Read configuration in memory.
Since: 0.5.4
void ags_config_set_value (AgsConfig *config
,gchar *group
,gchar *key
,gchar *value
);
Set config by group
and key
, applying value
.
config |
the AgsConfig |
|
group |
the config group identifier |
|
key |
the key of the property |
|
value |
the value to set |
Since: 0.4.2
gchar * ags_config_get_value (AgsConfig *config
,gchar *group
,gchar *key
);
Retrieve config by group
and key
.
Since: 0.4.2
void ags_config_to_data (AgsConfig *config
,char **buffer
,gsize *buffer_length
);
Save configuration.
Since: 0.5.4
AgsConfig * ags_config_get_instance ();
Get config instance.
Since: 0.7.0
“application-context”
property“application-context” AgsApplicationContext *
The application context which this config is packed into.
Flags: Read / Write