Resource.gResourceGetInfo

Looks for a file at the specified path in the resource and if found returns information about it. lookup_flags controls the behaviour of the lookup. Since 2.32

class Resource
int
gResourceGetInfo

Parameters

path string

A pathname inside the resource

lookupFlags GResourceLookupFlags

A GResourceLookupFlags

size gsize

a location to place the length of the contents of the file, or NULL if the length is not needed. out[allow-none]

flags uint

a location to place the flags about the file, or NULL if the length is not needed. out[allow-none]

Return Value

Type: int

TRUE if the file was found. FALSE if there were errors

Throws

GException on failure.

Meta