showIcon

Typeproperty
Dictionarywidget.powerbutton
LibraryPower button
Syntax
set the showIcon of widget to {true | false}
get the showIcon of widget
Associationscom.livecode.widget.powerbutton
Summary

Specifies whether the widget (Power button) icon is visible.

OSmac, windows, linux, ios, android, web
Platformsdesktop, mobile
Example
set the showIcon of widget "Power button" to false
Description

Use the showIcon property to change the appearance of a widget (Power button).

If the showIcon property of a widget (Power button) is set to true, the SVG icon specified in the button's btnIconPath (property), btnHighlightedIconPath (property), btnIcon (property), and btnHighlitedIcon (property) properties is displayed in the button's rectangle (property). If showIcon is false, the SVG icon is not displayed.