RasterTabItem.setIcon( icon )
Sets the icon displayed in this tab.Parameters
| Name | Type | Description | |
|---|---|---|---|
| icon | string |
Either a URL of a 16x16 image, or an object that
implements the IID_SPRITEINFO interface like the constants
defined in ICONS16. Set to null if no image desired. |
Returns
| Type | Description |
|---|---|
| object | The tab item object. This allow for chaining multiple setter methods in one single statement. |