ltk::theme::assets

Function app_icon

Source
pub fn app_icon(name: &str) -> Option<PathBuf>
Expand description

Path to the named app icon SVG inside the active theme’s icons/apps/ directory. name is the bare stem (e.g. "firefox", "calculator") without the .svg extension. Returns None when the active document has no on-disk root or the file does not exist.