Resource.enumerateChildren

string[] enumerateChildren(string path, gio.types.ResourceLookupFlags lookupFlags)

Returns all the names of children at the specified path in the resource. The return result is a null terminated list of strings which should be released with [glib.global.strfreev].

If path is invalid or does not exist in the #GResource, [gio.types.ResourceError.NotFound] will be returned.

lookup_flags controls the behaviour of the lookup.

Parameters

pathA pathname inside the resource
lookupFlagsA #GResourceLookupFlags

Returns

an array of constant strings

Throws

[ErrorWrap]