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.DBusObjectProxyis an object used to represent a remote object with one or more D-Bus interfaces. Normally, you don’t instantiate a- Gio.DBusObjectProxyyourself - typically- Gio.DBusObjectManagerClientis used to obtain it.- New in version 2.30. - 
classmethod new(connection, object_path)[source]¶
- Parameters: - connection (Gio.DBusConnection) – aGio.DBusConnection
- object_path (str) – the object path
 - Returns: - a new - Gio.DBusObjectProxy- Return type: - Creates a new - Gio.DBusObjectProxyfor the given connection and object path.- New in version 2.30. 
- connection (
 - 
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. 
 
- 
classmethod 
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.