1.22 <GDBusObjectProxy>

Class: <GDBusObjectProxy>

It derives from <GObject>.

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 <GDBusObjectManagerClient> is used to obtain it.

Properties

Property: dbus-object-proxy:g-connection self

The connection of the proxy.

Its value is a <GDBusConnection>, or #f.

It can only be set when the object is made, with #:g-connection.

Property: dbus-object-proxy:g-object-path self

The object path of the proxy.

Its value is a string, or #f.

It can only be set when the object is made, with #:g-object-path.

Procedures

Method: dbus-object-proxy:get-connection self ⇒ %return
Method: get-connection self ⇒ %return

Gets the connection that self is for.

self

Passed: a <GDBusObjectProxy>.

a <GDBusObjectProxy>

%return

Returned: a <GDBusConnection>.

A <GDBusConnection>. Do not free, the object is owned by self.

Procedure: dbus-object-proxy:new connection object-path ⇒ %return

Creates a new <GDBusObjectProxy> for the given connection and object path.

connection

Passed: a <GDBusConnection>.

a <GDBusConnection>

object-path

Passed: a string.

the object path

%return

Returned: a <GDBusObjectProxy>.

a new <GDBusObjectProxy>