gweather-gconf
gweather-gconf
|
|
Synopsis
GWeatherGConf;
GWeatherGConf * gweather_gconf_new (const char *prefix
);
void gweather_gconf_free (GWeatherGConf *ctx
);
GConfClient * gweather_gconf_get_client (GWeatherGConf *ctx
);
WeatherLocation * gweather_gconf_get_location (GWeatherGConf *ctx
);
gchar * gweather_gconf_get_full_key (GWeatherGConf *ctx
,
const gchar *key
);
void gweather_gconf_set_bool (GWeatherGConf *ctx
,
const gchar *key
,
gboolean the_bool
,
GError **opt_error
);
void gweather_gconf_set_int (GWeatherGConf *ctx
,
const gchar *key
,
gint the_int
,
GError **opt_error
);
void gweather_gconf_set_string (GWeatherGConf *ctx
,
const gchar *key
,
const gchar *the_string
,
GError **opt_error
);
gboolean gweather_gconf_get_bool (GWeatherGConf *ctx
,
const gchar *key
,
GError **opt_error
);
gint gweather_gconf_get_int (GWeatherGConf *ctx
,
const gchar *key
,
GError **opt_error
);
gchar * gweather_gconf_get_string (GWeatherGConf *ctx
,
const gchar *key
,
GError **opt_error
);
Details
GWeatherGConf
typedef struct _GWeatherGConf GWeatherGConf;
gweather_gconf_new ()
GWeatherGConf * gweather_gconf_new (const char *prefix
);
gweather_gconf_free ()
void gweather_gconf_free (GWeatherGConf *ctx
);
gweather_gconf_get_client ()
GConfClient * gweather_gconf_get_client (GWeatherGConf *ctx
);
gweather_gconf_get_full_key ()
gchar * gweather_gconf_get_full_key (GWeatherGConf *ctx
,
const gchar *key
);
gweather_gconf_set_bool ()
void gweather_gconf_set_bool (GWeatherGConf *ctx
,
const gchar *key
,
gboolean the_bool
,
GError **opt_error
);
gweather_gconf_set_int ()
void gweather_gconf_set_int (GWeatherGConf *ctx
,
const gchar *key
,
gint the_int
,
GError **opt_error
);
gweather_gconf_set_string ()
void gweather_gconf_set_string (GWeatherGConf *ctx
,
const gchar *key
,
const gchar *the_string
,
GError **opt_error
);
gweather_gconf_get_bool ()
gboolean gweather_gconf_get_bool (GWeatherGConf *ctx
,
const gchar *key
,
GError **opt_error
);
gweather_gconf_get_int ()
gint gweather_gconf_get_int (GWeatherGConf *ctx
,
const gchar *key
,
GError **opt_error
);
gweather_gconf_get_string ()
gchar * gweather_gconf_get_string (GWeatherGConf *ctx
,
const gchar *key
,
GError **opt_error
);