get_for_engine


Description:

public static unowned Client get_for_engine (Engine engine)

Creates a new Client with a specific Engine.

Only specialized configuration-related programs should need to call this function. The returned Client should be unref'd when you're done with unref. Remember to avoid using the Engine directly once you have a Client wrapper.

Parameters:

engine

the Engine to use.

Returns:

a new Client.