GIO Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#include <gio/gio.h> GDBusObjectProxy; struct GDBusObjectProxyClass; GDBusObjectProxy * g_dbus_object_proxy_new (GDBusConnection *connection
,const gchar *object_path
); GDBusConnection * g_dbus_object_proxy_get_connection (GDBusObjectProxy *proxy
);
"g-connection" GDBusConnection* : Read / Write / Construct Only "g-object-path" gchar* : Read / Write / Construct Only
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.
typedef struct _GDBusObjectProxy GDBusObjectProxy;
The GDBusObjectProxy structure contains private data and should only be accessed using the provided API.
Since 2.30
struct GDBusObjectProxyClass { GObjectClass parent_class; };
Class structure for GDBusObjectProxy.
GObjectClass |
The parent class. |
Since 2.30
GDBusObjectProxy * g_dbus_object_proxy_new (GDBusConnection *connection
,const gchar *object_path
);
Creates a new GDBusObjectProxy for the given connection and object path.
|
a GDBusConnection |
|
the object path |
Returns : |
a new GDBusObjectProxy |
Since 2.30
GDBusConnection * g_dbus_object_proxy_get_connection (GDBusObjectProxy *proxy
);
Gets the connection that proxy
is for.
|
a GDBusObjectProxy |
Returns : |
A GDBusConnection. Do not free, the
object is owned by proxy . [transfer none]
|
Since 2.30
"g-connection"
property"g-connection" GDBusConnection* : Read / Write / Construct Only
The connection of the proxy.
Since 2.30
"g-object-path"
property"g-object-path" gchar* : Read / Write / Construct Only
The object path of the proxy.
Default value: NULL
Since 2.30