iconPresetName

Typeproperty
Dictionarywidget.svgpath
LibrarySVG Icon
Syntax
set the iconPresetName of <widget> to <pIconName>
get the iconPresetName of <widget>
Associationscom.livecode.widget.svgpath
Summary

A predefined SVG icon path names.

Parameters
NameTypeDescription
pIconName

The name of the icon to display.

Example
set the iconPresetName of widget "SVG Icon" to "thumbs up"
Description

Use the iconPresetName property to set the icon of the widget to one of the predefined graphics provided by the "IconSVG" library.

You can get a list of available predefined path names by running put iconNames() in the Message Box.