| GConf Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
GConfEngine; GConfEngine * gconf_engine_get_default (void); GConfEngine * gconf_engine_get_for_address (const gchar *address,GError **err); GConfEngine * gconf_engine_get_for_addresses (GSList *addresses,GError **err); void gconf_engine_unref (GConfEngine *conf); void gconf_engine_ref (GConfEngine *conf); GConfEngine * gconf_engine_get_local (const char *address,GError **err); GConfEngine * gconf_engine_get_local_for_addresses (GSList *addresses,GError **err); void gconf_engine_set_user_data (GConfEngine *engine,gpointer data,GDestroyNotify dnotify); gpointer gconf_engine_get_user_data (GConfEngine *engine);
typedef struct _GConfEngine GConfEngine;
An opaque data type representing one or more configuration sources.
GConfEngine * gconf_engine_get_default (void);
Returns the default GConfEngine. All clients should use this, unless
they are special configuration-related tools. The caller of this
function assumes one reference count, and must call
gconf_engine_unref() at some point. It's fairly important to unref the
GConfEngine, to cleanly close the connection to
gconfd. So if possible close the connection
before exiting your application.
Returns : |
the default GConfEngine. [transfer full] |
GConfEngine * gconf_engine_get_for_address (const gchar *address,GError **err);
GConfEngine * gconf_engine_get_for_addresses (GSList *addresses,GError **err);
GConfEngine * gconf_engine_get_local_for_addresses (GSList *addresses,GError **err);
void gconf_engine_set_user_data (GConfEngine *engine,gpointer data,GDestroyNotify dnotify);