Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GDBusInterfaceInfo |
Struct : | DBusInterfaceInfo |
Properties | Defined By | |
---|---|---|
annotations : Gio.DBusAnnotationInfo
|
Gio.DBusInterfaceInfo | |
methods : Gio.DBusMethodInfo
|
Gio.DBusInterfaceInfo | |
name : String
|
Gio.DBusInterfaceInfo | |
properties : Gio.DBusPropertyInfo
|
Gio.DBusInterfaceInfo | |
ref_count : gint32
|
Gio.DBusInterfaceInfo | |
signals : Gio.DBusSignalInfo
|
Gio.DBusInterfaceInfo |
Method / Constructor | Defined By | |
---|---|---|
new Gio.DBusInterfaceInfo
()
Create a new Gio.DBusInterfaceInfo
Create a new Gio.DBusInterfaceInfo
|
||
Appends an XML representation of info (and its children) to string_builder.
Appends an XML representation of info (and its children) to string_builder.
This function is typically used for generating introspection XML documents at run-time for handling the method.
|
Gio.DBusInterfaceInfo | |
lookup_method
(String name)
:
Gio.DBusMethodInfo
Looks up information about a method.
Looks up information about a method.
This cost of this function is O(n) in number of methods unless g_dbus_interface_info_cache_build() has been used on info.
|
Gio.DBusInterfaceInfo | |
lookup_property
(String name)
:
Gio.DBusPropertyInfo
Looks up information about a property.
Looks up information about a property.
This cost of this function is O(n) in number of properties unless g_dbus_interface_info_cache_build() has been used on info.
|
Gio.DBusInterfaceInfo | |
lookup_signal
(String name)
:
Gio.DBusSignalInfo
Looks up information about a signal.
Looks up information about a signal.
This cost of this function is O(n) in number of signals unless g_dbus_interface_info_cache_build() has been used on info.
|
Gio.DBusInterfaceInfo |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gio.DBusConnection
Method |
register_object
(String object_path, DBusInterfaceInfo interface_info, DBusInterfaceVTable vtable, void* user_data, Function user_data_free_func)
:
guint32
Registers callbacks for exported objects at object_path with the
D-Bus interface that is described in interface_info. |
Gio.DBusNodeInfo
Method |
lookup_interface
(String name)
:
Gio.DBusInterfaceInfo
Looks up information about an interface.
|
Gio.DBusProxy
Property |
g_interface_info : Gio.DBusInterfaceInfo
Ensure that interactions with this proxy conform to the given
interface. |
Gio.DBusProxy
Method |
new Gio.DBusProxy.for_bus_sync
(BusType bus_type, DBusProxyFlags flags, DBusInterfaceInfo info, String name, String object_path, String interface_name, Cancellable cancellable)
:
Gio.DBusProxy
Create a new Gio.DBusProxy
|
Gio.DBusProxy
Method |
new Gio.DBusProxy.sync
(DBusConnection connection, DBusProxyFlags flags, DBusInterfaceInfo info, String name, String object_path, String interface_name, Cancellable cancellable)
:
Gio.DBusProxy
Create a new Gio.DBusProxy
|
Gio.DBusProxy
Method |
Gio.DBusProxy.c_new
(DBusConnection connection, DBusProxyFlags flags, DBusInterfaceInfo info, String name, String object_path, String interface_name, Cancellable cancellable, Function callback, void* user_data)
:
none
Creates a proxy for accessing interface_name on the remote object
at object_path owned by name at connection and asynchronously loads D-Bus properties unless the G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flag is used. |
Gio.DBusProxy
Method |
Gio.DBusProxy.new_for_bus
(BusType bus_type, DBusProxyFlags flags, DBusInterfaceInfo info, String name, String object_path, String interface_name, Cancellable cancellable, Function callback, void* user_data)
:
none
Like g_dbus_proxy_new() but takes a GBusType instead of a GDBusConnection.
|
Gio.DBusProxy
Method |
get_interface_info
()
:
Gio.DBusInterfaceInfo
Returns the GDBusInterfaceInfo, if any, specifying the minimal
interface that proxy conforms to. |
Gio.DBusProxy
Method |
set_interface_info
(DBusInterfaceInfo info)
:
none
Ensure that interactions with proxy conform to the given
interface. |