SettingsBackend.flattenTree

Calculate the longest common prefix of all keys in a tree and write out an array of the key names relative to that prefix and, optionally, the value to store at each of those keys.

You must free the value returned in path, keys and values using g_free(). You should not attempt to free or unref the contents of keys or values.

class SettingsBackend
static
void
flattenTree
(,
out string path
,
out string[] keys
,)

Parameters

tree BBTree

a GTree containing the changes

path string

the location to save the path

keys string[]

the location to save the relative keys

values Variant[]

the location to save the values, or NULL

Meta

Since

2.26