getFileIcon

get the current icon selection of a file in the list

Syntax

getFileIcon(path, index)

Returns

string value that matches a value from the icon_names array

Parameters

path (string)
the path to the file
index (integer)
as each file can be added multiple times. 0 is default