Module: Gio::DBusInterface
- Defined in:
- (unknown)
Overview
The GDBus::Interface type is the base type for D-Bus interfaces both on the service side (see GDBus::InterfaceSkeleton) and client side (see GDBus::Proxy).
Instance Method Summary collapse
-
#dup_object(interface_) ⇒ Gio::DBusObject
reference should be freed with g_object_unref().
-
#get_info(interface_) ⇒ Gio::DBusInterfaceInfo
A GDBus::InterfaceInfo.
-
#get_object(interface_) ⇒ Gio::DBusObject
A GDBus::Object or nil.
-
#info ⇒ Gio::DBusInterfaceInfo
Gets D-Bus introspection information for the D-Bus interface implemented by interface_.
-
#object ⇒ Gio::DBusObject
Gets the GDBus::Object that interface_ belongs to, if any.
-
#object=(object) ⇒ nil
Sets the GDBus::Object for interface_ to object.
- #set_object(interface_, object) ⇒ nil
Instance Method Details
#dup_object(interface_) ⇒ Gio::DBusObject
reference should be freed with g_object_unref().
#get_info(interface_) ⇒ Gio::DBusInterfaceInfo
Returns A GDBus::InterfaceInfo. Do not free.
#get_object(interface_) ⇒ Gio::DBusObject
Returns A GDBus::Object or nil. The returned reference belongs to interface_ and should not be freed.
#info ⇒ Gio::DBusInterfaceInfo
Gets D-Bus introspection information for the D-Bus interface implemented by interface_.
#object ⇒ Gio::DBusObject
Gets the GDBus::Object that interface_ belongs to, if any.
It is not safe to use the returned object if interface_ or the returned object is being used from other threads. See g_dbus_interface_dup_object() for a thread-safe alternative.
#object=(object) ⇒ nil
Sets the GDBus::Object for interface_ to object.
Note that interface_ will hold a weak reference to object.