Module: Gio::DBusObject
- Defined in:
- (unknown)
Overview
The GDBus::Object type is the base type for D-Bus objects on both the service side (see GDBus::ObjectSkeleton) and the client side (see GDBus::ObjectProxy). It is essentially just a container of interfaces.
Instance Method Summary collapse
-
#get_interface(object, interface_name) ⇒ Gio::DBusInterface
Nil if not found, otherwise a GDBus::Interface that must be freed with g_object_unref().
-
#get_interfaces(object) ⇒ GLib::List
A list of GDBus::Interface instances.
-
#get_object_path(object) ⇒ String
A string owned by object.
- #interface_added(object, interface_) ⇒ nil
- #interface_removed(object, interface_) ⇒ nil
-
#interfaces ⇒ GLib::List
Gets the D-Bus interfaces associated with object.
-
#object_path ⇒ String
Gets the object path for object.
Instance Method Details
#get_interface(object, interface_name) ⇒ Gio::DBusInterface
Returns nil if not found, otherwise a GDBus::Interface that must be freed with g_object_unref().
#get_interfaces(object) ⇒ GLib::List
Returns A list of GDBus::Interface instances. The returned list must be freed by g_list_free() after each element has been freed with g_object_unref().
#get_object_path(object) ⇒ String
Returns A string owned by object. Do not free.
#interface_added(object, interface_) ⇒ nil
#interface_removed(object, interface_) ⇒ nil
#interfaces ⇒ GLib::List
Gets the D-Bus interfaces associated with object.
#object_path ⇒ String
Gets the object path for object.