Gio.DBusObjectProxy

g GObject.GInterface GObject.GInterface Gio.DBusObject Gio.DBusObject GObject.GInterface->Gio.DBusObject GObject.Object GObject.Object Gio.DBusObjectProxy Gio.DBusObjectProxy GObject.Object->Gio.DBusObjectProxy Gio.DBusObject->Gio.DBusObjectProxy

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Gio.DBusObject (3)

Structs:

GObject.ObjectClass (5)

class

new (connection, object_path)

get_connection ()

Virtual Methods

Inherited:

GObject.Object (7), Gio.DBusObject (5)

Properties

Name

Type

Flags

Short Description

g-connection

Gio.DBusConnection

r/w/co

The connection of the proxy

g-object-path

str

r/w/co

The object path of the proxy

Signals

Inherited:

GObject.Object (1), Gio.DBusObject (2)

Fields

Inherited:

GObject.Object (1), Gio.DBusObject (2)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Gio.DBusObjectProxy(**kwargs)
Bases:

GObject.Object, Gio.DBusObject

Abstract:

No

Structure:

Gio.DBusObjectProxyClass

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

New in version 2.30.

classmethod new(connection, object_path)[source]
Parameters:
Returns:

a new Gio.DBusObjectProxy

Return type:

Gio.DBusObjectProxy

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

New in version 2.30.

get_connection()[source]
Returns:

A Gio.DBusConnection. Do not free, the object is owned by self.

Return type:

Gio.DBusConnection

Gets the connection that self is for.

New in version 2.30.

Property Details

Gio.DBusObjectProxy.props.g_connection
Name:

g-connection

Type:

Gio.DBusConnection

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The connection of the proxy.

New in version 2.30.

Gio.DBusObjectProxy.props.g_object_path
Name:

g-object-path

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The object path of the proxy.

New in version 2.30.