setItem()
This function is part of IconSet class in Iconify Tools.
Function setItem() adds new item to icon set or overwrites existing item. If item is an alias or variation, function checks for parent icon.
This function is not simple to use. Better use one of simpler functions:
- setIcon() to set icon.
- setVariation() to set icon variation.
- setAlias() to set icon alias.
Usage
Function has the following parameters:
- name, string. Icon name.
- item, IconSetIconEntry. Icon data.
Function returns a simple true on success, false on failure.