FileIcon.this

this(string pattern, FileIconType type)

Creates a new file icon.

Parameters

patternPattern string for filename matching (e.g., "*.txt")
typeFile type (ANY, PLAIN, FIFO, DEVICE, LINK, DIRECTORY)
this(FileIconPtr ptr, bool owns)

Creates a wrapper around an existing file icon handle.

Used internally for wrapping icons returned by find() and first().