Gio.Application.prototype.set_default

function set_default(): void {
    // Gjs wrapper for g_application_set_default()
}
  

Sets or unsets the default application for the process, as returned by Gio.Application.get_default.

This function does not take its own reference on application. If application is destroyed then the default application will revert back to null.

Since 2.32