mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-06 16:08:43 +02:00
Bug 622124 - implement flags for GSettings
Add a <flags> tag to the schema file format and a flags='' attribute to go along with. Add some extra test cases for those. Add new g_settings_{get,set}_flags() calls and support binding to GParamSpecFlags properties. Add test cases.
This commit is contained in:
@@ -126,6 +126,11 @@ gint g_settings_get_enum (GSettin
|
||||
gboolean g_settings_set_enum (GSettings *settings,
|
||||
const gchar *key,
|
||||
gint value);
|
||||
guint g_settings_get_flags (GSettings *settings,
|
||||
const gchar *key);
|
||||
gboolean g_settings_set_flags (GSettings *settings,
|
||||
const gchar *key,
|
||||
guint value);
|
||||
GSettings * g_settings_get_child (GSettings *settings,
|
||||
const gchar *name);
|
||||
|
||||
|
Reference in New Issue
Block a user