Engine.this

Return a new instance of Engine. If no default Engine has been instantiated yet, the first call of this function will set the default engine as the new instance of Engine.

  1. this(PeasEngine* peasEngine, bool ownedRef)
  2. this(bool global)
    class Engine
    this
    (
    bool global = true
    )

Parameters

global bool

Weather to return a global plugin loader

Return: a new instance of Engine.

Throws

ConstructionException GTK+ fails to create the object.