Resource.gResourceLoad

Loads a binary resource bundle and creates a GResource representation of it, allowing you to query it for data. If you want to use this resource in the global resource namespace you need to register it with g_resources_register(). Since 2.32

class Resource
static
gResourceLoad
(
string filename
)

Parameters

filename string

the path of a filename to load, in the GLib filename encoding. [type filename]

Return Value

Type: Resource

a new GResource, or NULL on error. [transfer full]

Throws

GException on failure.

Meta