Skip to content

Gio.DBusObjectProxy

class — extends GObject.Object, DBusObject

A GDBusObjectProxy is an object used to represent a remote object with one or more D-Bus interfaces. Normally, you don’t instantiate a GDBusObjectProxy yourself — typically DBusObjectManagerClient is used to obtain it.

Constructors

new

@classmethod
def new(cls, connection: DBusConnection, object_path: str) -> DBusObjectProxy

Creates a new DBusObjectProxy for the given connection and object path.

Parameters:

Methods

get_connection

def get_connection(self) -> DBusConnection

Gets the connection that proxy is for.

Properties

g_connection

g_connection: DBusConnection  # read/write

The connection of the proxy.

g_object_path

g_object_path: str  # read/write

The object path of the proxy.