Resource.register

Registers the resource with the process-global set of resources. Once a resource is registered the files in it can be accessed with the global resource lookup functions like g_resources_lookup_data().

class Resource
static
void
register

Parameters

resource Resource

A #GResource

Meta

Since

2.32