:right-sidebar: True DBusObjectProxy =================================================================== .. currentmodule:: gi.repository.Gio .. versionadded:: 2.30 .. class:: DBusObjectProxy(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gio.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 :obj:`~gi.repository.Gio.DBusObjectManagerClient` is used to obtain it. Constructors ------------ .. rst-class:: interim-class .. class:: DBusObjectProxy :no-index: .. classmethod:: new(connection: ~gi.repository.Gio.DBusConnection, object_path: str) -> ~gi.repository.Gio.DBusObjectProxy Creates a new :obj:`~gi.repository.Gio.DBusObjectProxy` for the given connection and object path. .. versionadded:: 2.30 :param connection: a :obj:`~gi.repository.Gio.DBusConnection` :param object_path: the object path Methods ------- .. rst-class:: interim-class .. class:: DBusObjectProxy :no-index: .. method:: get_connection() -> ~gi.repository.Gio.DBusConnection Gets the connection that ``proxy`` is for. .. versionadded:: 2.30 Properties ---------- .. rst-class:: interim-class .. class:: DBusObjectProxy :no-index: .. attribute:: props.g_connection :type: ~gi.repository.Gio.DBusConnection The type of the None singleton. .. versionadded:: 2.30 .. attribute:: props.g_object_path :type: str The type of the None singleton. .. versionadded:: 2.30 Fields ------ .. rst-class:: interim-class .. class:: DBusObjectProxy :no-index: .. attribute:: parent_instance .. attribute:: priv