Storing multiple values using GConf



While I 'do' know that GConf is not suited for storing large chunks of
data nor databases nor large lists; I do want to store a rather small
list with an undefined length (say.. max! 50 values).


What is the best way to do this?


gconf_client_[set|get]_list  can be used I guess. But these are
undocumented; how do I use them if they are suitable for my purposes?

If above is not a good idea then I was thinking about storing an integer
(amountofitems) and then set/get all values with a name like "value[x]"
or try to get values until there is no such key - "value[".x++."]" -



-- 
Philip Van Hoof







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