Gio.DBusInterface.prototype.get_object

function get_object(): Gio.DBusObject {
    // Gjs wrapper for g_dbus_interface_dup_object()
}
  

Gets the Gio.DBusObject that interface_ belongs to, if any.

Since 2.32

Returns

A Gio.DBusObject or null. The returned reference should be freed with GObject.Object.prototype.unref.