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.DBusObjectAbstract: No Structure: Gio.DBusObjectProxyClassA
Gio.DBusObjectProxyis an object used to represent a remote object with one or more D-Bus interfaces. Normally, you don’t instantiate aGio.DBusObjectProxyyourself - typicallyGio.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.DBusObjectProxyReturn 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.DBusConnectionGets the connection that self is for.
New in version 2.30.
-
classmethod
Property Details¶
-
Gio.DBusObjectProxy.props.g_connection¶ Name: g-connectionType: Gio.DBusConnectionDefault Value: NoneFlags: READABLE,WRITABLE,CONSTRUCT_ONLYThe connection of the proxy.
New in version 2.30.