open


Description:

public bool open () throws Error

Tries to open the connection.

The function either blocks or, if a GMaincontext has been specified using set_main_context, processes the events for that main context until either the connection opening has succeeded or failed.

If the connection is already opened, then this function returns true immediately.

Parameters:

this

a Connection object

Returns:

TRUE if the connection is opened, and FALSE otherwise.