Struct gtk_icon_cache::GtkIconCache
[−]
[src]
pub struct GtkIconCache { /* fields omitted */ }
GtkIconCache
Methods
impl GtkIconCache
[src]
pub fn with_file_path<T: AsRef<Path>>(path: T) -> Result<Self>
[src]
Create with a cache file.
path
- Cache file path.
pub fn lookup<T: AsRef<str>>(&self, name: T) -> Option<Vec<&String>>
[src]
Look up an icon.
name
- icon name.