insert


Description:

[ Version ( since = "2.4" ) ]
public void insert (ToolItem item, int pos)

Insert a ToolItem into the toolbar at position pos.

If pos is 0 the item is prepended to the start of the toolbar. If pos is negative, the item is appended to the end of the toolbar.

Parameters:

this

a Toolbar

item

a ToolItem

pos

the position of the new item