DBusInterfaceSkeleton.export_

Exports @interface_ at @object_path on @connection.

This can be called multiple times to export the same @interface_ onto multiple connections however the @object_path provided must be the same for all connections.

Use g_dbus_interface_skeleton_unexport() to unexport the object.

class DBusInterfaceSkeleton
bool
export_

Parameters

connection DBusConnection

A #GDBusConnection to export @interface_ on.

objectPath string

The path to export the interface at.

Return Value

Type: bool

%TRUE if the interface was exported on @connection, otherwise %FALSE with @error set.

Throws

GException on failure.

Meta

Since

2.30