Resource.enumerateChildren

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 g_strfreev().

If @path is invalid or does not exist in the #GResource, %G_RESOURCE_ERROR_NOT_FOUND will be returned.

@lookup_flags controls the behaviour of the lookup.

class Resource
string[]
enumerateChildren
(
string path
,
GResourceLookupFlags lookupFlags
)

Parameters

path string

A pathname inside the resource

lookupFlags GResourceLookupFlags

A #GResourceLookupFlags

Return Value

Type: string[]

an array of constant strings

Throws

GException on failure.

Meta

Since

2.32