Top |
void | xrd_settings_connect_and_apply () |
void | xrd_settings_destroy_instance () |
GSettings * | xrd_settings_get_instance () |
void | xrd_settings_update_double_val () |
void | xrd_settings_update_int_val () |
void xrd_settings_connect_and_apply (GCallback callback
,gchar *key
,gpointer data
);
Use this convenience function when you don't want to initially read a config value from the settings, and then connect a callback to when the value changes.
Instead write only one callback that handles initially setting the value, as well as any updates to this value.
void xrd_settings_update_double_val (GSettings *settings
,gchar *key
,double *val
);