Gio.AppLaunchContext.prototype.get_display

function get_display(info: Gio.AppInfo, files: Array(Gio.File)): String {
    // Gjs wrapper for g_app_launch_context_get_display()
}
  

Gets the display string for the context. This is used to ensure new applications are started on the same display as the launching application, by setting the `DISPLAY` environment variable.

info

a Gio.AppInfo

files

a GLib.List of Gio.File objects

Returns

a display string for the display.