DBusConnection.this

Synchronously sets up a D-Bus connection for exchanging D-Bus messages with the end represented by stream. If observer is not NULL it may be used to control the authentication process. This is a synchronous failable constructor. See g_dbus_connection_new() for the asynchronous version. Since 2.26

Parameters

stream IOStream

A GIOStream.

guid string

The GUID to use if a authenticating as a server or NULL. [allow-none]

flags GDBusConnectionFlags

Flags describing how to make the connection.

observer DBusAuthObserver

A GDBusAuthObserver or NULL. [allow-none]

cancellable Cancellable

A GCancellable or NULL.

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta