Constructor

AgsApplicationContextnew

since: 3.0.0

Declaration [src]

AgsApplicationContext*
ags_application_context_new (
  GObject* main_loop,
  AgsConfig* config
)

Description [src]

Create a new instance of AgsApplicationContext.

Available since: 3.0.0

Parameters

main_loop

Type: GObject

The AgsMainLoop.

The argument can be NULL.
The data is owned by the caller of the function.
config

Type: AgsConfig

The AgsConfig.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: AgsApplicationContext

The AgsApplicationContext instance.

The caller of the function takes ownership of the data, and is responsible for freeing it.