Free the returned object with gobject.object.ObjectWrap.unref
resourcesOpenStream
fn
gio.input_stream.InputStream resourcesOpenStream(string path, gio.types.ResourceLookupFlags lookupFlags)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 | A pathname inside the resource |
lookupFlags | A #GResourceLookupFlags |
Returns
#GInputStream or null on error.