![]() |
![]() |
![]() |
GConf Reference Manual | |
---|---|---|---|---|
Top | Description |
GConfChangeSet; void (*GConfChangeSetForeachFunc) (GConfChangeSet *cs
,const gchar *key
,GConfValue *value
,gpointer user_data
); gboolean gconf_engine_commit_change_set (GConfEngine *conf
,GConfChangeSet *cs
,gboolean remove_committed
,GError **err
); GConfChangeSet * gconf_engine_reverse_change_set (GConfEngine *conf
,GConfChangeSet *cs
,GError **err
); GConfChangeSet * gconf_engine_change_set_from_currentv (GConfEngine *conf
,const gchar **keys
,GError **err
); GConfChangeSet * gconf_engine_change_set_from_current (GConfEngine *conf
,GError **err
,const gchar *first_key
,...
); GConfChangeSet * gconf_change_set_new (void
); GConfChangeSet * gconf_change_set_ref (GConfChangeSet *cs
); void gconf_change_set_unref (GConfChangeSet *cs
); void gconf_change_set_clear (GConfChangeSet *cs
); guint gconf_change_set_size (GConfChangeSet *cs
); void gconf_change_set_remove (GConfChangeSet *cs
,const gchar *key
); void gconf_change_set_foreach (GConfChangeSet *cs
,GConfChangeSetForeachFunc func
,gpointer user_data
); gboolean gconf_change_set_check_value (GConfChangeSet *cs
,const gchar *key
,GConfValue **value_retloc
); void gconf_change_set_set (GConfChangeSet *cs
,const gchar *key
,GConfValue *value
); void gconf_change_set_set_nocopy (GConfChangeSet *cs
,const gchar *key
,GConfValue *value
); void gconf_change_set_unset (GConfChangeSet *cs
,const gchar *key
); void gconf_change_set_set_float (GConfChangeSet *cs
,const gchar *key
,gdouble val
); void gconf_change_set_set_int (GConfChangeSet *cs
,const gchar *key
,gint val
); void gconf_change_set_set_string (GConfChangeSet *cs
,const gchar *key
,const gchar *val
); void gconf_change_set_set_bool (GConfChangeSet *cs
,const gchar *key
,gboolean val
); void gconf_change_set_set_schema (GConfChangeSet *cs
,const gchar *key
,GConfSchema *val
); void gconf_change_set_set_list (GConfChangeSet *cs
,const gchar *key
,GConfValueType list_type
,GSList *list
); void gconf_change_set_set_pair (GConfChangeSet *cs
,const gchar *key
,GConfValueType car_type
,GConfValueType cdr_type
,gconstpointer address_of_car
,gconstpointer address_of_cdr
); void gconf_change_set_set_user_data (GConfChangeSet *cs
,gpointer data
,GDestroyNotify dnotify
); gpointer gconf_change_set_get_user_data (GConfChangeSet *cs
);
void (*GConfChangeSetForeachFunc) (GConfChangeSet *cs
,const gchar *key
,GConfValue *value
,gpointer user_data
);
gboolean gconf_engine_commit_change_set (GConfEngine *conf
,GConfChangeSet *cs
,gboolean remove_committed
,GError **err
);
GConfChangeSet * gconf_engine_reverse_change_set (GConfEngine *conf
,GConfChangeSet *cs
,GError **err
);
GConfChangeSet * gconf_engine_change_set_from_currentv (GConfEngine *conf
,const gchar **keys
,GError **err
);
GConfChangeSet * gconf_engine_change_set_from_current (GConfEngine *conf
,GError **err
,const gchar *first_key
,...
);
void gconf_change_set_foreach (GConfChangeSet *cs
,GConfChangeSetForeachFunc func
,gpointer user_data
);
Iterates over a GConfChangeSet by calling a
GConfChangeSetForeachFunc for each change in the set. See the
description of GConfChangeSetForeachFunc for details. You may not
call gconf_change_set_remove()
during the iteration, because you'll
confuse the internal data structures and cause memory corruption.
|
a GConfChangeSet. |
|
function to call for each change in the change set. [scope call] |
|
user data to pass to the GConfChangeSetForeachFunc. |
gboolean gconf_change_set_check_value (GConfChangeSet *cs
,const gchar *key
,GConfValue **value_retloc
);
void gconf_change_set_set (GConfChangeSet *cs
,const gchar *key
,GConfValue *value
);
void gconf_change_set_set_nocopy (GConfChangeSet *cs
,const gchar *key
,GConfValue *value
);
void gconf_change_set_set_float (GConfChangeSet *cs
,const gchar *key
,gdouble val
);
void gconf_change_set_set_int (GConfChangeSet *cs
,const gchar *key
,gint val
);
void gconf_change_set_set_string (GConfChangeSet *cs
,const gchar *key
,const gchar *val
);
void gconf_change_set_set_bool (GConfChangeSet *cs
,const gchar *key
,gboolean val
);
void gconf_change_set_set_schema (GConfChangeSet *cs
,const gchar *key
,GConfSchema *val
);
void gconf_change_set_set_list (GConfChangeSet *cs
,const gchar *key
,GConfValueType list_type
,GSList *list
);
void gconf_change_set_set_pair (GConfChangeSet *cs
,const gchar *key
,GConfValueType car_type
,GConfValueType cdr_type
,gconstpointer address_of_car
,gconstpointer address_of_cdr
);
void gconf_change_set_set_user_data (GConfChangeSet *cs
,gpointer data
,GDestroyNotify dnotify
);
Sets the user_data and the destroy notification function fields of the GConfChangeSet.
|
a GConfChangeSet. |
|
a gpointer. |
|
a pointer to the function to be called during destroy. |
gpointer gconf_change_set_get_user_data (GConfChangeSet *cs
);
Returns the user_data field of the GConfChangeSet.
|
a GConfChangeSet. |
Returns : |
a pointer to the user_data. |