xsettings: multiple settings per xsetting name

The XSettings spec [1] seems to mention the possibility to store
multiple settings per name. However, we only provide

gboolean    gdk_screen_get_setting          (GdkScreen *screen,
                                             const gchar *name,
                                             GValue *value);

Shouldn't we also have 

gboolean    gdk_screen_get_settings         (GdkScreen *screen,
                                             const gchar *name,
                                             GValue **values);

(values would be a NULL-terminated array).

I'm also not quite sure how we go about that in gtkrc files, maybe

  "gtk-foo-setting" = { "foo", "bar", "baz", ... }


I'm asking because I need such functionality for implementing
platform-aware automatic button ordering if my original proposal [2]
is accepted.


Christian Neumair <chris gnome-de org>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]