FreedesktopIconProvider

Undocumented in source.
version(!Windows)
static if(!WIDGET_STYLE_CONSOLE)
static if(isFreedesktop)
class FreedesktopIconProvider : IconProviderBase {}

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

getIconFromTheme
DrawBufRef getIconFromTheme(string name, string context)
Undocumented in source. Be warned that the author may not have intended to support it.
getStandardIcon
DrawBufRef getStandardIcon(StandardIcon icon)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From IconProviderBase

getStandardIcon
DrawBufRef getStandardIcon(StandardIcon icon, DrawBufRef fallback)

Get image of standard icon. If icon was not found use fallback.

getIconForFilePath
DrawBufRef getIconForFilePath(string filePath, DrawBufRef fallback)

Get image of icon associated with file path. If icon was not found use fallback.

getStandardIcon
DrawBufRef getStandardIcon(StandardIcon icon)

Get image of standard icon. Return the null image if icon was not found in the system.

getIconForFilePath
DrawBufRef getIconForFilePath(string filePath)

Get image of icon associated with file path. Return null image if icon was not found in the system. Default implementation detects icon for a directory and for a file using the list of hardcoded extensions.

Meta