gconf-engine

gconf-engine

Synopsis

                    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);

Description

Details

GConfEngine

typedef struct _GConfEngine GConfEngine;

An opaque data type representing one or more configuration sources.


gconf_engine_get_default ()

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]

gconf_engine_get_for_address ()

GConfEngine *       gconf_engine_get_for_address        (const gchar *address,
                                                         GError **err);


gconf_engine_get_for_addresses ()

GConfEngine *       gconf_engine_get_for_addresses      (GSList *addresses,
                                                         GError **err);


gconf_engine_unref ()

void                gconf_engine_unref                  (GConfEngine *conf);


gconf_engine_ref ()

void                gconf_engine_ref                    (GConfEngine *conf);


gconf_engine_get_local ()

GConfEngine *       gconf_engine_get_local              (const char *address,
                                                         GError **err);


gconf_engine_get_local_for_addresses ()

GConfEngine *       gconf_engine_get_local_for_addresses
                                                        (GSList *addresses,
                                                         GError **err);


gconf_engine_set_user_data ()

void                gconf_engine_set_user_data          (GConfEngine *engine,
                                                         gpointer data,
                                                         GDestroyNotify dnotify);


gconf_engine_get_user_data ()

gpointer            gconf_engine_get_user_data          (GConfEngine *engine);