Gio.DBusObjectProxy.new

function new(connection: Gio.DBusConnection, object_path: String): Gio.DBusObjectProxy {
    // Gjs wrapper for g_dbus_object_proxy_new()
}
  

Creates a new Gio.DBusObjectProxy for the given connection and object path.

Since 2.30

connection

a Gio.DBusConnection

object_path

the object path

Returns

a new Gio.DBusObjectProxy