insert

fun insert(pos: Double, menuItem: MenuItem)(source)

Inserts the menuItem to the pos position of the menu.