gui.setComboBoxItemIcon

Assigns an icon to a comboBox item.

Prototype

  1. bOk = gui.setComboBoxItemIcon ( hComboBoxItem, hIcon )

Description

Assigns an icon to a comboBox item. The icons will probably be predefined in the resource XML.


Parameters

hComboBoxItem - valid comboBox item handle
hIcon - icon handle


Return values

bOk - true on success


Sample

  1. gui.setComboBoxItemIcon ( hItem, gui.getIcon ( "Add" ) )

Available since ShiVa 2.0