Re: GSettings and {sv}

2015-02-22 Thread Daniel Espinosa
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

Re: GSettings and {sv}

2015-02-21 Thread Emmanuele Bassi
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 Espin

GSettings and {sv}

2015-02-21 Thread Daniel Espinosa
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-l