Gio.DBusInterface.prototype.set_object

function set_object(object: Gio.DBusObject): void {
    // Gjs wrapper for g_dbus_interface_set_object()
}
  

Sets the Gio.DBusObject for interface_ to object.

Note that interface_ will hold a weak reference to object.

Since 2.30

object

A Gio.DBusObject or null.