pub fn resources_open_stream(
    path: &str,
    lookup_flags: ResourceLookupFlags
) -> Result<InputStream, Error>
Expand description

Looks for a file at the specified path in the set of globally registered resources and returns a InputStream that lets you read the data.

lookup_flags controls the behaviour of the lookup.


A pathname inside the resource


A ResourceLookupFlags


InputStream or None on error. Free the returned object with g_object_unref()