resourcesOpenStream

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.

Parameters

path string

A pathname inside the resource

lookupFlags gio.types.ResourceLookupFlags

A #GResourceLookupFlags

Return Value

Type: gio.input_stream.InputStream

#GInputStream or null on error. Free the returned object with gobject.object.ObjectG.unref