setBackgroundColor()
Set the icon's background Color. Identical to setColor()
Parameters
Once an object icon has been created, you can use the following functions:
icon.setBackgroundColor()
icon.setBackgroundColor(color)
| Parameter | Type | Default | Description |
|---|---|---|---|
color |
Color |
None |
The new background color. If omitted, a color-selection dialog opens. |