Application.this

Creates a new gtk.Application instance.

If non-NULL, the application id must be valid. See Application.idIsValid.

If no application ID is given then some features of gtk.Application (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 gtk.Application instance

Throws

ConstructionException GTK+ fails to create the object.