Resource.gResourcesOpenStream

Looks for a file at the specified path in the set of globally registered resources and returns a GInputStream that lets you read the data. lookup_flags controls the behaviour of the lookup. Since 2.32

class Resource
static
gResourcesOpenStream

Parameters

path string

A pathname inside the resource

lookupFlags GResourceLookupFlags

A GResourceLookupFlags

Return Value

GInputStream or NULL on error. Free the returned object with g_object_unref(). [transfer full]

Throws

GException on failure.

Meta