to_hash


Description:

public HashTable<string,HashTable<void*,void*>> to_hash (SettingHashFlags flags)

Converts the Connection into a GenericSet describing the connection, suitable for marshalling over D-Bus or serializing.

The hash table mapping is string:#GHashTable with each element in the returned hash representing a Setting object. The keys are setting object names, and the values are GenericSets mapping string:GValue, each of which represents the properties of the Setting object.

Parameters:

this

the Connection

flags

hash flags, e.g. ALL

Returns:

a new GenericSet describing the connection, its settings, and each setting's properties. The caller owns the hash table and must unref the hash table with g_hash_table_unref when it is no longer needed.