Connection.from_hash


Description:

[ CCode ( has_construct_function = false ) ]
public Connection.from_hash (HashTable<string,HashTable<void*,void*>> hash) throws Error

Creates a new Connection from a hash table describing the connection.

See to_hash for a description of the expected hash table.

Parameters:

hash

the GenericSet describing the connection

Returns:

the new Connection object, populated with settings created from the values in the hash table, or null if the connection failed to validate




2022 vala-language.org