btnIcon

Typeproperty
Dictionarywidget.powerbutton
LibraryPower button
Syntax
set the btnIcon of widget to <IconName>
get the btnIcon of widget
Associationscom.livecode.widget.powerbutton
Summary

The name of an SVG icon, which is displayed as an icon when the button is in its normal state.

OSmac, windows, linux, ios, android, web
Platformsdesktop, mobile
Example
set the btnIcon of widget "Power button" to "star empty"
Description

Use the btnIcon property to specify the name of an SVG icon, which is displayed as an icon when the button is in its normal state.

The btnIcon property is ignored when btnIconPath (property) property is set