Gio.Application.prototype.get_is_remote

function get_is_remote(): Boolean {
    // Gjs wrapper for g_application_get_is_remote()
}
  

Checks if application is remote.

If application is remote then it means that another instance of application already exists (the 'primary' instance). Calls to perform actions on application will result in the actions being performed by the primary instance.

The value of this property cannot be accessed before Gio.Application.prototype.register has been called. See Gio.Application.prototype.get_is_registered.

Since 2.28

Returns

true if application is remote