Name
Button.Icon -- set button image
Function
Set this attribute to the identifier of a Hollywood brush or icon to add an image to your button. Whether this attribute expects a Hollywood brush or icon, depends on what you specify in the Button.IconType attribute. By default, Button.Icon expects a Hollywood brush. You can control the position of the icon in relation to the button's label by setting the Button.IconPos attribute.

Note that RapaGUI might scale the image to fit to the current monitor's DPI setting. Please read the chapter on high-DPI support for more information. See High-DPI support for details.

Please also read about RapaGUI's image cache to learn more about icon support in RapaGUI. See Image cache for details.

Note that on AmigaOS and compatibles icon support is only available with MUI 4.0 or better.

Type
Number

Applicability
I


Show TOC