[][src]Function linicon::lookup_icon_with_extra_paths

pub fn lookup_icon_with_extra_paths<'a>(
    theme_name: impl AsRef<str>,
    name: impl AsRef<str>,
    size: u16,
    scale: u16,
    extra_search_paths: &[impl AsRef<str>]
) -> Result<IconIter<'a>>

Works the same as lookup_icon expect you can provide a list of additional paths to the default list of paths in with to search for icon themes.

If the feature expand-paths is turn on (off by default) environment variable and ~s in paths will be expanded to their values.