setFileIcon

set the icon property of the file list from the magnetron app user interface

Syntax

setFileIcon(path, index, value)

Returns

returns (integer) true if successful

Parameters

path (string)
path of the (new) file (treated as unique id for the file list)
index (integer)
as each file can be added multiple times. 0 is default
value (string)
a string that matches a value from the 'icon_names' array. partial string matches will work, (ie. you can just try some words).