Gio.Application.new
function new(application_id: String, flags: Gio.ApplicationFlags): Gio.Application { // Gjs wrapper for g_application_new() }
Creates a new Gio.Application instance.
If non-null, the application id must be valid. See Gio.Application.id_is_valid.
If no application ID is given then some features of Gio.Application (most notably application uniqueness) will be disabled.
- application_id
the application id
- flags
the application flags
- Returns
a new Gio.Application instance