Free the returned object with [gobject.object.ObjectWrap.unref]
Resource.openStream
gio.input_stream.InputStream openStream(string path, gio.types.ResourceLookupFlags lookupFlags)Looks for a file at the specified path in the resource 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.
Throws
[ErrorWrap]