DesktopEntry.iconName

Icon to display in file manager, menus, etc.

  1. string iconName()
    class DesktopEntry
    @safe
    string
    iconName
    const nothrow pure
    (
    )
  2. string iconName(string icon)

Return Value

Type: string

The unescaped value associated with "Icon" key. Note: This function returns Icon as it's defined in .desktop file. It does not provide any lookup of actual icon file on the system if the name if not an absolute path. To find the path to icon file refer to Icon Theme Specification or consider using icontheme library.

Meta