Method

AgsControlleradd_resource

since: 3.0.0

Declaration [src]

void
ags_controller_add_resource (
  AgsController* controller,
  gchar* resource_name,
  AgsControllerResource* controller_resource
)

Description [src]

Add controller_resource with key resource_name to hash table.

Available since: 3.0.0

Parameters

resource_name

Type: gchar*

The resource name as string.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
controller_resource

Type: AgsControllerResource*

The AgsControllerResource-struct.

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