I'm using {sv} with the idea of it is a HashTable like store, not a single key/value pair.
A a{sv} for me is an array of Hash Tables. Then I'm wrong? I would like to store a set of key/value pairs and use lookups for a value using a key, this is using a GVariantDict type. Then this GVariant to be stored in a setting single key. El feb 21, 2015 6:42 AM, "Emmanuele Bassi" <eba...@gmail.com> escribió: > Hi; > > do you really want to store a single key/value pair, or do you want to > store a dictionary, as an array of key/value pairs? > > If you want the former, then you need to use (sv); if you want the latter, > you need to use a{sv} instead. > > Ciao, > Emmanuele. > > On Saturday, February 21, 2015, Daniel Espinosa <eso...@gmail.com> wrote: > >> I would like to store a {sv} GVariantDict type in GSettigs, but it is >> reported to be unsupported, while documentation states any GVarintType is >> supported. >> >> Could any one point me on what types are really supported in GSettings >> please? >> _______________________________________________ >> gtk-app-devel-list mailing list >> gtk-app-devel-list@gnome.org >> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list >> > > > -- > https://www.bassi.io > [@] ebassi [@gmail.com] > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list