enumerate_children


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
public string[] enumerate_children (string path, ResourceLookupFlags lookup_flags) throws Error

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 [func@GLib.strfreev].

If path is invalid or does not exist in the [struct@Gio.Resource], g_resource_error_not_found will be returned.

lookup_flags controls the behaviour of the lookup.

Parameters:

this

A [struct@Gio.Resource]

path

A path name inside the resource

lookup_flags

A [flags@Gio.ResourceLookupFlags]

Returns:

an array of constant strings