xsettings: multiple settings per xsetting name
- From: Christian Neumair <chris gnome-de org>
- To: gtk-devel-list <gtk-devel-list gnome org>
- Subject: xsettings: multiple settings per xsetting name
- Date: Sun, 07 Jan 2007 22:57:14 +0100
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.
[1]
http://standards.freedesktop.org/xsettings-spec/xsettings-spec-0.5.html
[2]
http://www.nabble.com/alternative-button-order:-Why-don't-we-auto-guess-the-alternative-order-by-default-if-appropriate--t2925481.html
--
Christian Neumair <chris gnome-de org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]