Application.this

Creates a new #GApplication instance.

If non-%NULL, the application id must be valid. See g_application_id_is_valid().

If no application ID is given then some features of #GApplication (most notably application uniqueness) will be disabled.

  1. this(GApplication* gApplication, bool ownedRef)
  2. this(string applicationId, GApplicationFlags flags)
    class Application

Parameters

applicationId string

the application id

flags GApplicationFlags

the application flags

Return Value

a new #GApplication instance

Throws

ConstructionException GTK+ fails to create the object.

Meta