set_resource_path


Description:

public void set_resource_path (string[]? path)

Sets the resource paths that will be looked at when looking for icons, similar to search paths.

The resources are considered as part of the hicolor icon theme and must be located in subdirectories that are defined in the hicolor icon theme, such as `path/16x16/actions/run.png` or `path/scalable/actions/run.svg`.

Icons that are directly placed in the resource path instead of a subdirectory are also considered as ultimate fallback, but they are treated like unthemed icons.

Parameters:

this

a `GtkIconTheme`

path

NULL-terminated array of resource paths that are searched for icons




2022 vala-language.org